import {UploadImageService } from './../../shared/service/uploadImageService';
import { ModalMultipleSelect3FullScreenComponent } from './modal-multiple-select3-full-screen/modal-multiple-select3-full-screen.component';
import { ModalMultipleSelect3Component } from './modal-multiple-select3/modal-multiple-select3.component';
import { ModalFromCenterEnter, ModalFromCenterLeave, ModalFromRightEnter, ModalFromRightLeave } from 'src/app/utils/transitions';
import { SelectAccountModalComponent } from './../select-account-modal/select-account-modal.component';
import { PageModalService } from './../../shared/service/page-modal-service';
import { ModalOfLocalEditComponent } from './modal-of-local-edit/modal-of-local-edit.component';
import { EventService } from 'src/app/shared/service/event.service';
import { Component, ElementRef, Input, OnDestroy, OnInit, Renderer2, ViewChild, ChangeDetectorRef } from '@angular/core';
import { FormControl, FormGroup, Validators, ValidatorFn } from '@angular/forms';
import { ModalController, PickerController, AlertController, Platform } from '@ionic/angular';

import { ActionSheetService } from 'ng-zorro-antd-mobile';
import { zh_CN } from 'ng-zorro-antd-mobile';

import { HttpService } from 'src/app/shared/service/http.service';
import { ChooseCityComponent } from './../choose-city/choose-city.component';

import { RecommendModalComponent } from './../recommend-modal/recommend-modal.component';
import { AppGlobalService } from './../../shared/service/app-global.service';

import { ModalOfEditMoreInfoComponent } from './modal-of-edit-more-info/modal-of-edit-more-info.component';
import { ModalOfMultipleComponent } from './modal-of-multiple/modal-of-multiple.component';
import { ModalOfPersonSelectComponent } from './modal-of-person-select/modal-of-person-select.component';
import { ModalOfSelectComponent } from './modal-of-select/modal-of-select.component';
import { PublishHouseTypeComponent } from '../../coms/publish-house-type/publish-house-type.component';
import { ChooseDepartmentComponent } from '../choose-department/choose-department.component';
import { ServiceTypeComponent } from '../service-type/service-type.component';
// import { ModalFromRightEnter, ModalFromRightLeave } from '../../../app/modal';
import { Contacts } from '@ionic-native/contacts';
import { ModalMultipleSelect3AutoFullComponent } from './modal-multiple-select3-auto-full/modal-multiple-select3-auto-full.component';
import { MapBaiduService } from 'src/app/shared/service/map.baiduapi';
import { ShowMapPage } from '../address/show-map/show-map.page';
import { isNull } from 'util';
import AddressParse from 'address-parse';
import { FwPickerComponent } from './fw-picker/fw-picker.component';

declare var BMap;
declare var BaiduOcr;
declare let $: any;
declare let Quill: any;
declare let Keyboard: any;
@Component({
  selector: 'app-post-edit-form',
  templateUrl: './post-edit-form.component.html',

  styleUrls: ['./post-edit-form.component.scss'],

})
export class PostEditFormComponent implements OnInit, OnDestroy {

  constructor(
    public appGlobalService: AppGlobalService,
    private picker: PickerController,
    private modalCtrl: ModalController,
    private http: HttpService,
    private actionSheet: ActionSheetService, // 必须有
    private alertController: AlertController,
    private eventService: EventService,
    private pageModalService: PageModalService,
    private renderer2: Renderer2,
    private element: ElementRef,
    private contacts: Contacts,
    private mapBaiduSerivce: MapBaiduService,
    private uploadImageService: UploadImageService,
    private platform: Platform,
    private cd: ChangeDetectorRef  // 强制更新检测
  ) { }
  @ViewChild('searchBarLocal') searchBarLocal;
  @Input() tagData: any;
  timer: any;
  timer1: any;
  indexs: any = [];
  positionInfo: any;
  pageCity: any;
  pageCityCode: any;
  addressValue: any;
  bigDistrict: any;
  formGroup: FormGroup; // = new FormGroup({});
  allLabel: any = {};
  minTime: any = '1990';
  time = -1;
  _selectedIndex = 0;
  address: any = {};
  // time
  locale = zh_CN;
  compareItemArray: any = [];
  servicePriceShow: any = 0; // 服务动态价格
  Status: any;
  houseTypeShowValue = '';
  appTypeCustom: any;
  globalTempEvent = []; // 临时监听退出页面则删除
  textInputJoinArray = []; //
  hintId = 'hintId';
  @ViewChild('fwInput') fwInput;
  // modal-flow
  fieldsets: any = [];
  currentIndex = 0;
  title = "";
  isModalFlow = false; // 是否弹窗发布 // 弹窗的第一步中具有相同option值的比如这里设置1 item 归为一组，至少填写一项 否则提示tips （每一个item应有相同的tips）
  fieldset0: any = [];
  fieldset1: any = [];
  updateFromName: any;
  quill: any;
  currentAddressItem: any ;// 暂存当前要编辑的地址项
  ngAfterViewInit() {
    this.timer1 = setInterval(() => {
      try {
        // 修改 ion-range 样式
        const ionBackButton = this.element.nativeElement.querySelector('ion-range'); if (ionBackButton) {
          const styleSheet = `
      .range-bar{
        width:calc(100% + 5vw - 0.15rem) !important
      }
      .range-bar.range-bar-active {
        left: calc(-6vw + 0.15rem) !important;
        width:auto !important;
      }
      `;
          this.appGlobalService.injectStyleToShadowRoot(this.renderer2, ionBackButton, styleSheet);
        }
      } catch (error) {

      }

    }, 50);

    this.timer = setInterval(() => {
      try {
        let n = 0;
        this.textInputJoinArray.forEach(element => {
          const x = document.getElementById(element.formKey + "-" + this.hintId);
          if (x && element.changedCss !== true) {
            element.changedCss = true;
            x.setAttribute("style", element.valueCssStyle);
          }
          if (element.changedCss === true) {
            ++n;
          }
        });
        if (n === this.textInputJoinArray.length) {
          clearInterval(this.timer);
        }


      } catch (error) {

      }

    }, 50);

  }
  ngOnInit() {
    this.updateFromName = "updateFrom" + localStorage.getItem('currentPath');
    this.hintId += new Date().getTime();
    this.addressValue = {};
    this.isModalFlow = this.tagData.isModalFlow;
    const bodyStyles = window.getComputedStyle(document.body);
    this.appTypeCustom = bodyStyles.getPropertyValue('--appTypeCustom').trim().replace('"', '').replace('"', '');
    this.Status = false;
    // 进入表单 标志刷新
    // localStorage.setItem('needRefresh', 'true'); // 修改为默认不设置刷新
    this.positionInfo = JSON.parse(localStorage.getItem('position'));
    console.log(this.positionInfo, 'this.positionInfo');
    // console.log(this.minTime);
    if (this.eventService.eventEmit.listenerCount('setDefValue') > 0) {
      this.eventService.eventEmit.removeListener('setDefValue');
    }
    this.eventService.eventEmit.on('setDefValue', res => {

      const item = JSON.parse(res);
      this.setDefValue(item);

    });
    if (this.eventService.eventEmit.listenerCount('MsCodeSubmitInner') > 0) {
      this.eventService.eventEmit.removeListener('MsCodeSubmitInner');
    }
    this.eventService.eventEmit.on('MsCodeSubmitInner', res => {

      const item = JSON.parse(res);
      this.submitData(item);
    });
    if (this.eventService.eventEmit.listenerCount('NextPage') > 0) {
      this.eventService.eventEmit.removeListener('NextPage');
    }
    this.eventService.eventEmit.on('NextPage', res => {

      const item = JSON.parse(res);
      this.nextPage(item);
    });

    if (this.eventService.eventEmit.listenerCount('updateFrom' +  localStorage.getItem('currentPath')) > 0) {
      this.eventService.eventEmit.removeListener('updateFrom' +  localStorage.getItem('currentPath'));
    }
    const that = this;
    that.eventService.eventEmit.on("updateFrom" + localStorage.getItem('currentPath'), (obj) => {
      const update = new Date().getTime();
      if (that.hintId == undefined || update - Number(that.hintId.split('hintId')[1]) < 1000 ) {
        console.log("not need updateFrom " + (update - Number(that.hintId.split('hintId')[1])));
          return;
      }
      console.log("need updateFrom") 
      that.hintId = "hintId" +  update
      // 改到表单初始化 dell
      that.appGlobalService.delAllFormGroup();
      that.appGlobalService.delAllFormGroupMessage();
      that.appGlobalService.delAllFormCompare();
  
      that.appGlobalService.formChecked = false;
      that.formGroup = that.appGlobalService.getFormGroupWithParamName(that.tagData.paramName);
      that.compareItemArray = that.appGlobalService.getFormCompareWithParamName(that.tagData.paramName);
      that.buildForm();
      // // 恢复表单
      // this.formGroup = this.appGlobalService.getFormGroupWithParamName(this.tagData.paramName);
      // this.compareItemArray = this.appGlobalService.getFormCompareWithParamName(this.tagData.paramName);
      // this.buildForm();
    });
    let saveDraftValue;
    if (this.tagData.data && this.tagData.data.htmlObj
      && this.tagData.data.htmlObj[0].formType === 'saveDraft'
      && this.tagData.data.htmlObj[0].value === 'true') {
        // 表单第一个配置 formType = "saveDraft" value = "true" 存稿
        // 对比每一层级formType 与对应的formKey 都相同 则还原
        const forward =  this.appGlobalService.getCurrentTarget();
        if(forward && forward.pageId){
          if(localStorage.getItem("saveDraft:"+forward.pageId)){
            const obj =  JSON.parse(localStorage.getItem("saveDraft:"+forward.pageId));
            const htmlObjStore = obj.htmlObj;
            saveDraftValue = obj.formValue;
            // 对比
            if(this.checkDraftWith(this.tagData.data.htmlObj,htmlObjStore)){
              this.tagData.data.htmlObj = htmlObjStore;
              console.log('还原存稿');
            } else {
              console.log('存稿不匹配');
            }
            
          }      
        }

    }
    if (this.tagData.demo === true) {
      this.demoData();
    }
    // this.demoData();
    let selectBank = false;
    let selectAddress = false;
    let selectService = false;
    let selectCommunityAddress = false;
    let selectInvoiceHead = false;
    let selectCertificates = false;
    this.tagData.data.htmlObj.forEach(element => {
      if (element.subHtmlObj !== undefined && element.subHtmlObj.length > 0) {
        element.subHtmlObj.forEach(ele => {
          if (ele.formType === "selectAddress" ||  ele.formType === "sendAddress" || ele.formType === "recAddress") {
            selectAddress = true;
          }
        });
      }

      if (element.formType === 'showWindow') {
        this.pageModalService.openPage(element.link, '', res => {
          // 可以编辑
          if (res === 'canEditForm') {

          } else if (res === 'disableEditForm') {

          }
        });
      }
      if (element.formType === "selectBank") {
        selectBank = true;
      }
      if (element.formType === "selectAddress") {
        selectAddress = true;
      }
      if (element.formType === "selectService") {
        selectService = true;
      }
      if (element.formType === "selectCommunityAddress" || element.formType === "selectCommunityAddressJoin") {
        selectCommunityAddress = true;
      }
      if (element.formType === "selectInvoiceHead") {
        selectInvoiceHead = true;
      }
      if (element.formType === "selectCertificates") {
        selectCertificates = true;
      }
      

      if (element.eventName && element.eventName.length > 0 ) {
        this.checkSendEventItem(element);
      }
    });
    
    if (selectCertificates) {
      this.selectCertificates();
    }

    if (selectService) {
      this.selectService();
    }
    if (selectBank) {
      this.selectBank();
    }

    if (selectAddress) {
      this.selectAddress();
    }
    if (selectCommunityAddress) {
      this.selectCommunityAddress();
    }
    if (selectInvoiceHead) {
      this.selectInvoiceHead();
    }
    // this.hintId += new Date().getTime();

    // 改到表单初始化 dell
    this.appGlobalService.delAllFormGroup();
    this.appGlobalService.delAllFormGroupMessage();
    this.appGlobalService.delAllFormCompare();

    this.appGlobalService.formChecked = false;
    this.formGroup = this.appGlobalService.getFormGroupWithParamName(this.tagData.paramName);
    this.compareItemArray = this.appGlobalService.getFormCompareWithParamName(this.tagData.paramName);
    this.buildForm();
    this.initBaiduOcr();
    this.updateExpressDeliveryPrice();
    // 
    // if (saveDraftValue){
    //   const array = Object.keys(saveDraftValue)
    //   array.forEach(element => {
    //     console.log('还原之前key:' + element + "value:" + this.formGroup.controls[element].value)
    //     this.formGroup.patchValue({ [element]: saveDraftValue[element] });
    //     console.log('还原之后key:' + element + "value:" + this.formGroup.controls[element].value)
    //   });
    // }
  }
  
  checkDraftWith(htmlObj,htmlObjStore){
      let res = true;
      if(htmlObj.length === htmlObjStore.length) {
        for (let index = 0; index < htmlObj.length; index++) {
          const element = htmlObj[index];
          const ele = htmlObjStore[index];
          if (element.formType != ele.formType || element.formKey != ele.formKey) {
            res = false;
            break;
          } 

          if ( (element.subHtmlObj === undefined  &&  ele.subHtmlObj !== undefined)  ||
               (element.subHtmlObj !== undefined  &&  ele.subHtmlObj === undefined)) {
            res = false;
            break;
          } else if (element.subHtmlObj !== undefined  && ele.subHtmlObj !== undefined && ele.subHtmlObj.length  ===  element.subHtmlObj.length ) {
            if (!this.checkDraftWith(element.subHtmlObj,ele.subHtmlObj))
            res = false
            break;
          } 
        }

      } else {
        res = false
      }
      
      return res;
  }

  initRichTextEdit(formItem) {
    const that = this;
    setTimeout(() => {
      if (document.getElementById("id-rich-text-" + formItem.formKey + that.hintId)) {
        if ((typeof Keyboard) !== 'undefined' && localStorage.getItem('client') === 'APP') {
          // Keyboard.disableScroll(false);
          // Keyboard.setResizeMode('none');
          console.log('iOS:Keyboard.Scroll!!!!');
        }
        const toolbarOptions = [
          [{ header: [false, 1, 2, 3, 4] }],
          [{ size: ['12', false, "16", "18", '22', "26"] }],
          ['bold'],
          [{ color: [] }],
          [{ align: [] }],
          [{ list: 'ordered' }], [{ list: 'bullet' }],
          ['image']
        ];

        const toolBarId = "toolbar-" + that.appGlobalService.getCurrentTarget().currentRootTabId;

        document.getElementById(toolBarId).classList.remove('displayno');
        that.quill = new Quill("#id-rich-text-" + formItem.formKey + that.hintId, {
          modules: {
            toolbar: "#" + toolBarId, // toolbarOptions,
            // history: {
            //   delay: 2000,
            //   maxStack: 100,
            //   userOnly: true
            // }
          },
          theme: 'snow',
          placeholder: formItem.placeHolder ? formItem.placeHolder : '请输入内容详情',

        });
        if (formItem.value && formItem.value.length > 0) {
          that.quill.pasteHTML(formItem.value);
          formItem.showValue = '已填写';  
        } else {
          that.quill.pasteHTML('');
          formItem.showValue = '';
        }
        if (formItem.cropperRatio && formItem.cropperRatio > 0) {
          that.quill.cropperRatio  =  formItem.cropperRatio;
        } else {
          that.quill.cropperRatio  =  0;
        }

        // 获取quill的工具栏对象
        const toolbar = that.quill.getModule('toolbar');
        // 给工具栏的image功能添加自定义函数，注意this指向问题
        toolbar.addHandler('image', that.imageHandler.bind(this));

        that.quill.on('editor-change', function(eventName, ...args) {
          if (eventName === 'text-change') {
            // args[0] will be delta
            let value = that.quill.container.firstChild.innerHTML;
            if (value === '<p><br></p>' || value === '<p> </p>') {
              value = "";
              formItem.showValue = '';
            } else {
              formItem.showValue = '已填写';
            }
            
            formItem.value = value;
            // console.log('content===',  value);
            that.formGroup.patchValue({ [formItem.formKey]: value });
          } else if (eventName === 'selection-change') {
            // args[0] will be old range
            if (args[1] && args[1].length > 0) {
              console.log('set focus');
              if (!that.quill.hasFocus()) {
                that.quill.focus();

              }
            } else {
              console.log('selection-change none');
            }
          }

        });
      }

    }, 500);
  }

   // 自定义图片上传功能
  // 创建一个input对象来实现上传，除了下面的自定义代码区域，其他为官方代码
  imageHandler() {
    const that = this;
    const cropperRatio = that.quill.cropperRatio; // W/H 2.54
    if (this.platform.is('cordova')) {

       /* 自定义代码 */
       that.uploadImageService.presentAction(imageUrl => {
        // 必要的，成功后执行 （imageUrl 为上传成功后的图片完整路径）
        that.quill.insertEmbed(that.quill.getSelection(true).index, 'image', imageUrl);
      }, cropperRatio);

       if ((typeof Keyboard) !== 'undefined' &&
        localStorage.getItem('client') === 'APP') {
          Keyboard.hide();

          console.log('Keyboard.Hide!!!!');
        }
    } else {

      const Imageinput = document.createElement('input');
      Imageinput.setAttribute('type', 'file');
      Imageinput.setAttribute('accept', 'image/png, image/gif, image/jpeg, image/bmp'); // 可改上传图片格式
      Imageinput.classList.add('ql-image');
      Imageinput.addEventListener('change', () => {
        const file = Imageinput.files[0];
        if (Imageinput.files != null && Imageinput.files[0] != null) {
            /* 自定义代码 */
            that.uploadImageService.uploadFileForWeb(file, imageUrl => {
              // 必要的，成功后执行 （imageUrl 为上传成功后的图片完整路径）
              that.quill.insertEmbed(that.quill.getSelection(true).index, 'image', imageUrl);
            }, cropperRatio);

        }
      });
      Imageinput.click();
    }


  }
  // 添加表单控件
  buildForm(): void {
    if (this.isModalFlow) {
      if (this.tagData.data.titles && this.tagData.data.titles.length > 1) {
        this.title = this.tagData.data.titles[0];
      }

      this.fieldsets.push(this.fieldset0);
      this.fieldsets.push(this.fieldset1);
      for (let i = 0; i < this.tagData.data.htmlObj.length; i++) {
        const formItem = this.tagData.data.htmlObj[i];
        if (formItem.formType === 'nextPageFomObj') {

          this.addFormCtrl(formItem);
          this.fieldset1 = formItem.subHtmlObj;
          this.fieldsets[1] = this.fieldset1;
          break;
        } else if (formItem.formType === 'backTips') {

          if (formItem.showValue && formItem.showValue === 'onlyBack') {

            localStorage.removeItem('needRefresh');
          }
        } else {
          this.fieldset0.push(formItem);
          this.addFormCtrl(formItem);
        }
      }

    } else {
      for (let i = 0; i < this.tagData.data.htmlObj.length; i++) {
        const formItem = this.tagData.data.htmlObj[i];
        if (formItem.formType === 'nextPageFomObj') {
          this.appGlobalService.nextPageFomObj = formItem;
          // this.cd.detectChanges();
          break;
        } else if (formItem.formType === 'backTips') {

          if (formItem.showValue && formItem.showValue === 'onlyBack') {

            localStorage.removeItem('needRefresh');
          }
        } else {
          this.addFormCtrl(formItem);
        }

      }
    }


    // this.formGroup.valueChanges.subscribe(data => this.onValueChanged(data));
    // this.onValueChanged();
  }
  // 存储需要的对比的项目
  compareMinAndMaxValue(item) {
    if (item.compare && item.subHtmlObj && item.subHtmlObj.length >= 2) {
      const compareItem = {
        label: item.label,
        lessTip: '',
        equalTip: '',
        minKey: item.subHtmlObj[0].formKey,
        maxKey: item.subHtmlObj[1].formKey,
        canEqual: item.canEqual
      };
      if (item.lessTip && item.lessTip.length > 0) {
        compareItem.lessTip = item.lessTip;
      }
      if (item.equalTip && item.equalTip.length > 0) {
        compareItem.equalTip = item.equalTip;
      }

      this.compareItemArray.push(compareItem);
      this.appGlobalService.setFormCompareWithParamName(this.tagData.paramName, this.compareItemArray);
    } else if (item.compare && item.formType === 'photo' && Number(item.minSize) > 0) {
      const compareItem = {
        label: item.label,
        formType: item.formType,
        minSize: Number(item.minSize),
        lessTip: '',
        equalTip: '',
        minKey: item.formKey,
        maxKey: '',
        canEqual: false
      };
      if (item.lessTip && item.lessTip.length > 0) {
        compareItem.lessTip = item.lessTip;
      }
      this.compareItemArray.push(compareItem);
      this.appGlobalService.setFormCompareWithParamName(this.tagData.paramName, this.compareItemArray);
    }
  }
  addFormCtrl(formItem) {
    const that = this;
    if (formItem.formType === 'nextPageFomObj' && !this.isModalFlow) {
      this.appGlobalService.nextPageFomObj = formItem;
      // this.cd.detectChanges();
      return;
    }
    if (formItem.formType === 'nextPageFomObj' && this.isModalFlow) {

      this.fieldset1 = formItem.subHtmlObj;
      this.fieldsets[1] = this.fieldset1;
    }

    if (formItem.formType === "pickerSelectDate") {
      this.getChooseDate(formItem);
    }
    // 第一层
    this.addFormControl(formItem);

    if (formItem.subHtmlObj && formItem.subHtmlObj.length > 0 && formItem.formType === 'serviceSpecification') {
      formItem.subHtmlObj.forEach((element, i) => {
        // 第2层组合为第1层的formKey value
        if (!element.formKey || element.formKey === '') {
          element.formKey = 'cus_' + formItem.formKey + i;
          element.value = '';
          // 赋值
          if (formItem.value && formItem.value !== '') {
            const arr = formItem.value.split(',');
            element.value = arr[i] ? arr[i] : '';
          }
        }
        if (!element.showCondition || (element.showCondition && element.showCondition.indexOf(formItem.value) > -1)) {
          that.addFormCtrl(element);
        }
      });
    }

    if (formItem.subHtmlObj && formItem.subHtmlObj.length > 1 && formItem.formType === 'addServiceSpecification') {
      formItem.subHtmlObj.forEach((element, i) => {
        // 第2层组合为第1层的formKey value
        if (!element.formKey || element.formKey === '' && element.formType !== 'sectionDesc') {
          element.formKey = 'not_del_key_' + formItem.formKey + i;
          element.value = '';
          // 赋值 名称1inner价格1split名称2inner价格2split名称3inner价格3
        }
      });
      // 还原值
      if (formItem.value && formItem.value !== '') {
        formItem['itemList'] = [];
        const arr = formItem.value.split('split');
        console.log(arr);
        if ( arr.length > 0) {
          arr.forEach(ele => {
            console.log(ele);
            const arr1 = ele.split('inner');
            console.log(arr1);
            if (arr1.length > 1) {
              formItem['itemList'].push({label: arr1[0], value: arr1[1]});
            }
           
          });
          setTimeout(() => {
            this.checkAddSPValue(formItem)  
          }, 1);
          
        }

      }
    }
    if (formItem.subHtmlObj && formItem.subHtmlObj.length > 0 && formItem.formType !== 'modalOfLocalEdit') {
      formItem.subHtmlObj.forEach(element => {
        if (formItem.formKey && formItem.formKey === element.formKey) {
          element.formKey = 'samekey_' + element.formKey;
          that.removeFormControl(element);
          that.addFormControl(element);

        }
        // if (element.showCondition2 && (formItem.value.indexOf(element.showCondition) > -1 || formItem.value.indexOf(element.showCondition2) > -1)) {
        //   that.addFormCtrl(element);
        // } else
        //   // 第二层
        //   if (!element.showCondition ||
        //     (element.showCondition && (element.showCondition.indexOf(formItem.value) > -1 || (formItem.value && formItem.value.indexOf(element.showCondition) > -1) || 
        //     (formItem.value && formItem.value.indexOf(element.showCondition2) > -1)))) {
        //     that.addFormCtrl(element);
        //   }
      });
    }
  }

  addFormControl(formItem) {
    if (formItem.formType === 'nextPageFomObj' && !this.isModalFlow) {
      this.appGlobalService.nextPageFomObj = formItem;
      // this.cd.detectChanges();
      return;
    }
    if (formItem.formType === 'nextPageFomObj' && this.isModalFlow) {

      this.fieldset1 = formItem.subHtmlObj;
      this.fieldsets[1] = this.fieldset1;
    }
    this.compareMinAndMaxValue(formItem);
    this.checkSubHtmlObj(formItem);
    const that = this;
    if (formItem.formKey && formItem.formKey.length > 1 && !this.formGroup.controls[formItem.formKey]) {
      if (formItem.formType === 'multipleColumnSelect' ||
        formItem.formType === 'multipleColumnSelectLJ' ||
        formItem.formType === 'multipleColumnSelectJoin' ||
        formItem.formType === 'multipleColumnSelectTwoLine') {
        if (formItem.value && formItem.value.length) {
          if (Array.isArray(formItem.value)) {
          } else {
            formItem.value = formItem.value.split(",");
          }
        }
      } else if(formItem.formType === 'datePicker' ||
      formItem.formType === 'datePlug' ||
      formItem.formType === 'ionDatetime' ||
      formItem.formType === 'datePickerLJ') {
        if (!formItem.value || formItem.value === '') {
          formItem.valueN =  formItem.placeHolder ? formItem.placeHolder : formItem.label;
        } else {
          formItem.valueN = formItem.showValue ? formItem.value + ' ' + ' ' + formItem.showValue : formItem.value;
        }
      }
      if (this.formGroup.contains(formItem.formKey)) {
        this.formGroup.patchValue({ [formItem.formKey]: formItem.value });
      } else {
        this.formGroup.addControl(formItem.formKey, new FormControl(formItem.value, that.validators(formItem)));
        console.log('addFormControl：' + formItem.formKey);
      }

    }
    // 上次坐标
    if (formItem.formType === 'detailAddress_location') {
      if (this.addressValue && this.addressValue.location) {
        formItem.value = this.addressValue.location;
        this.formGroup.patchValue({ [formItem.formKey]: formItem.value });
      }
    }
    if (formItem.rules && formItem.rules.length > 0) {
      const message: any = {};
      formItem.rules.forEach(rule => {
        // 将key 转小写
        message[rule.name.toLowerCase()] = rule.message;
      });
      message.label = formItem.label;
      this.allLabel[formItem.formKey] = message;
    }
    this.appGlobalService.setFormGroupMessageWithParamName(this.tagData.paramName, this.allLabel);
    // 设置样式 textAreaLJ
    if (formItem && (formItem.formType === 'textInputJoin' || formItem.formType === 'textAreaLJ') && formItem.valueCssStyle) {
      this.textInputJoinArray.push(formItem);
    }
    // 设置初始值
    if (formItem.formType === 'showSingleSelect') {
      if (formItem.data && formItem.data.length > 0) {
        formItem.itemList = formItem.data;
      }
    } else
    if (formItem.formType === 'editItemList' || formItem.formType === 'editItemListTable') {
      this.editItemListDefValue(formItem);
    } else 

    if (formItem.formType === 'updateRules') {
      if (formItem.value && formItem.value === '1' || formItem.value === 1) {
        formItem.checked = true;
      } else {
        formItem.checked = false;
        formItem.value = '';
      }
      this.formGroup.patchValue({ [formItem.formKey]: formItem.value });
    } else
      if (formItem.formType === 'richTextEdit') {
        this.initRichTextEdit(formItem);

      } else if (formItem.formType === 'textInput' || formItem.formType === 'textInputLJ') {
        if (formItem.tags && formItem.tags.length > 0) {
          formItem.tags.forEach(e => {
            if (e.checked) {
              if (e.label.indexOf('自定义') > -1) {
                formItem.disabled = false;
              } else {
                formItem.disabled = true;
              }
              formItem.value = e.showValue;
              formItem.tagTips = e.tips;
              this.formGroup.patchValue({ [formItem.formKey]: e.showValue });
              this.formGroup.addControl(e.formKey, new FormControl(e.value));
              this.getPrice(e,formItem);
            }
          });
        }

        if (formItem.extra === '验证码') {
          formItem.time = -1;
        }

      } else if (formItem.formType === 'singleColumnSelectLJ' || formItem.formType === 'singleColumnSelect') {

        if (formItem.subHtmlObj && formItem.subHtmlObj.length > 0) {
          formItem.subHtmlObj.forEach(it => {
            // tslint:disable-next-line:max-line-length
            if ((formItem.value && it.showCondition && (it.showCondition.indexOf(formItem.value) > -1 || formItem.value.indexOf(it.showCondition) > -1)) || !it.showCondition) {

              // tslint:disable-next-line:max-line-length
              if ((it.formType === 'modalMultipleSelectLJ_AfterSubmit' || it.formType === 'modalMultipleSelect3_Full' || it.formType === 'modalMultipleSelect3_Full_Common' || it.formType === 'modalMultipleSelect3_Auto_Full') && it.submit) {

                it.submit.content = { [formItem.formKey]: formItem.value };
                // tslint:disable-next-line:max-line-length
                if (it.formType === 'modalMultipleSelect3_Full' || it.formType === 'modalMultipleSelect3_Auto_Full' || it.formType === 'modalMultipleSelect3_Full_Common') {
                  it.children = [];
                } else {
                  it.data = [];
                }

                // 清空一下
                // this.formGroup.patchValue({ [it.formKey]: '' });
                // it.value = '';
                // it.showValue = '';
                this.getIndustryData(it);

              }
            }
          });
        }

      } else if (formItem.formType === 'switchButtonSystem') {
        formItem.showValue = formItem.value === '1' ? true : false;
        this.formGroup.patchValue({ [formItem.formKey]: formItem.value });

      } else if (formItem.formType === 'switchButton' ||
        formItem.formType === 'switchButtonLJ' ||
        formItem.formType === 'switchButtonLJ_icon' ||
        formItem.formType === 'radioButtonLJ' ||
        formItem.formType === 'switchButtonFW' ||
        formItem.formType === 'switchButtonKD' ||
        formItem.formType === 'switchButtonFW_3' ||
        formItem.formType === 'radioButton' ||
        formItem.formType === 'switchButtonJoin' ||
        formItem.formType === 'chooseGrade' ||
        formItem.formType === 'showSingleSelect') {
        if (formItem.itemList) {
          if (formItem.multiSelect === true || formItem.multiSelect === "true") {
            const valueArray: any = [];
            let value = '';
            if (formItem.value){
              let array = [];
              if (formItem.sep !== undefined) {
                array = formItem.value.split(formItem.sep)
              } else {
                array = formItem.value.split(';')
              }              formItem.itemList.forEach(e => {
                array.forEach(a => {
                  if (a === e.value) {
                    e.check = true;
                  }  
                });
              })
            } else {
              formItem.itemList.forEach(e => {
                if (e.check) {
                  valueArray.push(e.value);
                }
              });
              if (formItem.formType === 'showSingleSelect') {
                value = valueArray.join(',');
              } else {
                value = valueArray.join(';');
              }
              if (formItem.sep !== undefined) {
                value = valueArray.join(formItem.sep);
              }
              formItem.value = value;
            }
            
            this.formGroup.patchValue({ [formItem.formKey]: formItem.value });
          } else {
            formItem.itemList.forEach(element => {
              if (element.check) {
                formItem.value = element.value;
                formItem.showValue = element.label;
                that.formGroup.patchValue({ [formItem.formKey]: formItem.value });
              }
              if (formItem.value && formItem.value == element.value){
                formItem.showValue = element.label;
                that.formGroup.patchValue({ [formItem.formKey]: formItem.value });
                element.check = true;
              }
            });
          }
        }

      } else if (formItem.formType === 'singleSelect3-4') {
        if (formItem.children && formItem.children[0]) {
          formItem.children[0].open = true;
          formItem.current = formItem.children[0];
          setTimeout(() => {
            if (formItem.tips) {
              const tipsH = document.getElementById('singleSelect3-4-tips').offsetHeight;
              const listH = `height:calc(100% - ` + (tipsH / 16.0) + `rem)`;
              document.getElementById('singleSelect3-4-list').setAttribute('style', listH);

            }

          }, 1000);
        }
      } else if (formItem.formType === 'multipleSelect3' || formItem.formType === 'threeLevelSelection') {
        if (formItem.formType === 'threeLevelSelection') {

          if (formItem.children && formItem.children.length > 0) {
            this.initThreeLevelData(formItem);
          } else {
            if (formItem.submit && formItem.submit.content) {
              this.getCityData(formItem);
            }
          }
        } else {
          this.initThreeLevelData(formItem);
        }

      } else if (formItem.formType === 'multipleSelect') {
        if (formItem.children && formItem.children[0]) {
          formItem.children[0].open = true;
        }

        if (typeof formItem.value === 'string') {
          // formItem.showValue = formItem.value;
          // 初始化赋值
          if (formItem.value.length > 0) {
            formItem.value = formItem.value.split(',');
            formItem.children.forEach(big => {
              if (formItem.value.indexOf(big.value) > -1) {
                big.checked = true;
                if (big.children && big.children.length > 0) {
                  big.children.forEach(s => {
                    s.checked = true;
                  });
                }

              } else {
                if (big.children && big.children.length > 0) {
                  big.children.forEach(s => {

                    if (formItem.value.indexOf(s.value) > -1) {
                      s.checked = true;
                    }
                  });
                }

              }

            });

          } else {
            formItem.value = [];
          }

        }
      } else if (formItem.formType === 'modalMultipleSelect' ||
        formItem.formType === 'modalMultipleSelectLJ' ||
        formItem.formType === 'multipleSelectLJ' ||
        formItem.formType === 'pickerSelect' ||
        formItem.formType === 'pickerSelectLJ' ||
        formItem.formType === 'chooseHours' ||
        formItem.formType === 'pickerSelectDesign' ||
        formItem.formType === 'pickerSelectJoin' ||
        formItem.formType === 'pickerSelectDate' ||
        formItem.formType === 'pickerSelectTwoLine') {
        if (!(formItem.showValue && formItem.showValue.length > 0)) {
          formItem.showValue = formItem.placeHolder;
        }

        if (formItem.submit) {
          formItem.data = [];
          this.getIndustryData(formItem, true);
        }
      } else if (formItem.formType === 'datePicker' ||
        formItem.formType === 'datePickerLJ' ||
        formItem.formType === 'datePlug' ||
        formItem.formType === 'datePlugYear') {
        // 增加默认值
        if (formItem.defValue) {
          formItem.defValue = this.getDateTime(formItem.defValue);
        } else {
          // formItem.defValue = !formItem.value ?  new Date() : this.getDateTime(formItem.value);
        }
      } else if (formItem.formType === 'citySelect' ||
       formItem.formType === 'citySelectOneline' ||
       formItem.formType === 'citySelectLJ') {
        if (!formItem.showValue || !formItem.showValue.length) {
          formItem.showValue = this.positionInfo.name;
          this.pageCity = this.positionInfo.name;
          this.pageCityCode = this.positionInfo.code;
          formItem.value = this.positionInfo.code;
        }
          // 获取上次区域的值
        if (formItem.subHtmlObj && formItem.subHtmlObj.length > 0 && formItem.subHtmlObj[0].showValue) {
        this.bigDistrict = formItem.subHtmlObj[0].showValue;
        }
        this.formGroup.patchValue({ [formItem.formKey]: formItem.value });
        this.getAreaData(formItem);
      } else if (formItem.formType === 'detailAddress_location') {
        if (formItem.value && formItem.value.indexOf(",")) {
          that.positionInfo.center.lng = formItem.value.split(",")[1];
          that.positionInfo.center.lat = formItem.value.split(",")[0];
        }
        if (this.addressValue && this.addressValue.location) {
          formItem.value = this.addressValue.location;
        }
      } else if (formItem.formType === 'mCitySelect') {

        this.getCityData(formItem);
      } else if (formItem.formType === 'selectAddressWidget' || formItem.formType === 'selectAddressWidgetLJ') {
        formItem.value = formItem.showValue ? formItem.showValue : "";
        // if (formItem.value) {

        //   if (formItem.subHtmlObj.length > 2) {
        //     this.address.city =  formItem.subHtmlObj[0].showValue;
        //     this.address.area =  formItem.subHtmlObj[0].subHtmlObj[0].showValue;
        //     this.address.detailAddress =  formItem.subHtmlObj[1].value;
        //     this.address.detailAddress =  formItem.subHtmlObj[2].value;

        //   } else {
        //     item.value = address.city + ' ' + address.area + ' ' + address.detailAddress ;
        //   }
        //   item.showValue = item.value;
        //   that.formGroup.patchValue({ [item.formKey]: item.value });
        // }
      } else if (formItem.formType === 'contractSelectWidget' || formItem.formType === 'contractSelectWidgetLJ') {

        if (formItem.value === 'true') {
          this.formGroup.patchValue({ [formItem.formKey]: "true" });
          formItem.subHtmlObj.forEach(element => {
            that.addFormControl(element);
          });

        } else {
          this.formGroup.patchValue({ [formItem.formKey]: "false" });
          formItem.subHtmlObj.forEach(element => {
            that.removeFormControl(element);
          });
        }
      } else if (formItem.formType === 'detailAddress' || formItem.formType === 'detailAddressLJ') {
        if (formItem.latitude && formItem.longitude) {
          that.positionInfo.center.lng = formItem.longitude;
          that.positionInfo.center.lat = formItem.latitude;
        }
        // 初始化选择房型 modalMultipleFormKeySelect
      } else if (formItem.formType === 'modalMultipleFormKeySelect' || formItem.formType === 'modalMultipleFormKeySelectDesign') {
        this.houseTypeShowValue = '';
        if (formItem.showValue !== undefined) {
          this.houseTypeShowValue = formItem.showValue;
          if (formItem.subHtmlObj[0] && formItem.subHtmlObj[0].value) {
            formItem.roomType = formItem.subHtmlObj[0].value;
            this.formGroup.patchValue({ [formItem.subHtmlObj[0].formKey]: formItem.subHtmlObj[0].value });
          }
          if (formItem.subHtmlObj[1] && formItem.subHtmlObj[1].value) {
            formItem.roomHall = formItem.subHtmlObj[1].value;
            this.formGroup.patchValue({ [formItem.subHtmlObj[1].formKey]: formItem.subHtmlObj[1].value });
          }
          if (formItem.subHtmlObj[2] && formItem.subHtmlObj[2].value) {
            formItem.roomBit = formItem.subHtmlObj[2].value;
            this.formGroup.patchValue({ [formItem.subHtmlObj[2].formKey]: formItem.subHtmlObj[2].value });
          }
        } else {
          if (formItem.subHtmlObj[0] && formItem.subHtmlObj[0].data) {
            this.houseTypeShowValue += formItem.subHtmlObj[0].data[0].label;
            formItem.roomType = formItem.subHtmlObj[0].data[0].value;
            this.formGroup.patchValue({ [formItem.subHtmlObj[0].formKey]: formItem.subHtmlObj[0].data[0].value });
          }
          if (formItem.subHtmlObj[1] && formItem.subHtmlObj[1].data.length > 0) {
            this.houseTypeShowValue += formItem.subHtmlObj[1].data[0].label;
            formItem.roomHall = formItem.subHtmlObj[1].data[0].value;
            this.formGroup.patchValue({ [formItem.subHtmlObj[1].formKey]: formItem.subHtmlObj[1].data[0].value });
          }
          if (formItem.subHtmlObj[2] && formItem.subHtmlObj[2].data.length > 0) {
            this.houseTypeShowValue += formItem.subHtmlObj[2].data[0].label;
            formItem.roomBit = formItem.subHtmlObj[2].data[0].value;
            this.formGroup.patchValue({ [formItem.subHtmlObj[2].formKey]: formItem.subHtmlObj[2].data[0].value });
          }
        }

      } else if (formItem.formType === 'modalOfLocalEdit') {
        formItem.showValue = (formItem.dataValue && formItem.dataValue.length > 0) ? '编辑' : '';
      } else if (formItem.formType === 'selectAccount') {
        if (formItem.data && formItem.data.length > 0 && !formItem.showData) {
          formItem.showData = formItem.data[0];
          this.formGroup.patchValue({ [formItem.formKey]: formItem.showData.value });
        }
      } else if (formItem.formType === 'selectAddress') {
        if (formItem.data && formItem.data.length > 0 && !formItem.showData) {
          formItem.showData = formItem.data[0];
          this.formGroup.patchValue({ [formItem.formKey]: formItem.showData.value });
        }
      } else if (formItem.formType === 'singleSelect3') {
        this.formGroup.patchValue({ [formItem.formKey]: formItem.value });

        if (formItem.children.length > 0) {
          formItem.children[0].open = true;
          formItem.current = formItem.children[0];
        }

        formItem.children.forEach(big => {
           {
            // 2
            big.children.forEach(m => {
              if (formItem.value === (m.value)) {
                formItem.children[0].open = false;
                m.checked = true;
                big.open = true;
                formItem.current = big;
              }
              if (m.children && m.children.length > 0) {
                // 3
                m.children.forEach(s => {
                  if (formItem.value === (s.value)) {
                    formItem.children[0].open = false;
                    s.checked = true;
                    big.open = true;
                    formItem.current = big;
                  }
                });
              }
            });
          }});

      } else if (formItem.formType === 'multipleDesignStyleSelect') {
        if (formItem.itemList) {
          const arrayS = [];

          formItem.itemList.forEach(element => {
            if (element.status === 'true') {
              arrayS.push(element);
            }
          });
          formItem.itemList.forEach(element => {
            if (element.status !== 'true') {
              arrayS.push(element);
            }
          });
          formItem.itemList = arrayS;
        }


      } else if (formItem.formType === 'sectionDesc' && formItem.formKey && formItem.formKey.length > 0) {
        if (formItem.link && formItem.link.params && formItem.link.params.eventId) {
          const tempFormGrop = this.formGroup;
          this.globalTempEvent.push(formItem.link.params.eventId);
          this.eventService.eventEmit.on(formItem.link.params.eventId, (obj) => {
            // console.log('obj===', obj);
            formItem.showValue = obj.text;
            formItem.value = obj.id;
            tempFormGrop.patchValue({ [formItem.formKey]: obj.id });
          });
        }
      } else if (formItem.formType === 'chooseTime') {

      } else if (formItem.formType === 'chooseTimeRange') {

      } else if (formItem.formType === 'pickerSelectSepTwo') {
        formItem.formKey1 = "ad1";
        formItem.showValue1 = formItem.placeHolder;
        formItem.data2 = JSON.stringify(formItem.data);
        formItem.data.forEach(element => {
          element.children.forEach(e => {
            if (e.children.length !== 0) {
              e.children = "";
            }
          });
        });
        formItem.disabled2 = true;
      } else if (formItem.formType === 'photoSelectWidget') {
        if (formItem.textType && formItem.textType === 'pdf') {
          if (formItem.formKeys && formItem.formKeys.indexOf(";") > -1) {
            const keyArray = formItem.formKeys.split(";");
            if (this.formGroup.contains(keyArray[0])) {
              this.formGroup.patchValue({ [keyArray[0]]: formItem.valueLong });
              this.formGroup.patchValue({ [keyArray[1]]: formItem.valueIndex });
            } else {
              this.formGroup.addControl(keyArray[0], new FormControl(formItem.valueLong));
              this.formGroup.addControl(keyArray[1], new FormControl(formItem.valueIndex));
            }
          }
        }
      } else if (formItem.formType === 'addItemCount' && formItem.eventType === "updateTotalAmount") {
        this.updateNormalBtns (Number(formItem.showValue) * formItem.value);
      } else if (formItem.formType === 'showMapAddress') {
        if (formItem.link && formItem.link.params.formKey) {
          let keys = formItem.link.params.formKey.split(",");
          this.formGroup.patchValue({ [keys[0]]: formItem.value });
        }
      } else if (formItem.formType == 'sendAddress' || formItem.formType == 'recAddress') {
        if (formItem.subHtmlObj && formItem.subHtmlObj.length > 2) {

            formItem.subHtmlObj[2].value = formItem.value ?  formItem.value : ""; // 全地址
            formItem.subHtmlObj[1].value = formItem.valueN ? formItem.valueN  : ""; // 名字
            formItem.subHtmlObj[1].subHtmlObj[0].value = formItem.showValue ? formItem.showValue  : "";// 电话
            if(formItem.subHtmlObj[1].value && formItem.subHtmlObj[1].subHtmlObj[0].value){
              formItem.showValue1 = formItem.subHtmlObj[1].value + ' ' + formItem.subHtmlObj[1].subHtmlObj[0].value;
            }
          }
        this.updateCurrentAddress(formItem)
    }

  }
  removeFormControl(formItem) {
    const that = this;
    if (this.formGroup.controls[formItem.formKey]) {
      this.formGroup.removeControl(formItem.formKey);
      console.log('removeFormControl：' + formItem.formKey);
      if (formItem.rules && formItem.rules.length > 0) {
        delete this.allLabel[formItem.formKey];
        this.appGlobalService.setFormGroupMessageWithParamName(this.tagData.paramName, this.allLabel);
      }
      if (formItem.subHtmlObj && formItem.subHtmlObj.length) {
        formItem.subHtmlObj.forEach(element => {
          that.removeFormControl(element);
        });
      }
    } else {
      if (formItem.subHtmlObj && formItem.subHtmlObj.length) {
        formItem.subHtmlObj.forEach(element => {
          that.removeFormControl(element);
        });
      }
    }
  }

  // 上传身份信息控件      uploadIdentityWidget
  uploadIdentityWidgetControl(formItem) {
    const that = this;
    formItem.subHtmlObj.forEach(element => {
      that.addFormControl(element);
    });
  }

  // 数据校验
  validators(item) {
    const validators = [];
    if (item.rules && item.rules.length) {
      item.rules.forEach(rule => {
        if (rule.name === 'required' && rule.value === 'true') {
          item['required'] = true;
          validators.push(Validators.required);
        } else if (rule.name === 'minLength') {
          validators.push(Validators.minLength(Number(rule.value)));
        } else if (rule.name === 'maxLength') {
          validators.push(Validators.maxLength(Number(rule.value)));
        } else if (rule.name === 'min') {
          validators.push(Validators.min(Number(rule.value)));
        } else if (rule.name === 'max') {
          validators.push(Validators.max(Number(rule.value)));
        } else if (rule.name === 'pattern') {
          validators.push(Validators.pattern(rule.value));
        }
      });
    }
    return validators;
  }
// 更地图选择数据
  updateAddressHandler(event, item) {
    item.label = event.city;
    item.valueN = event.point.lat.toString() + "," + event.point.lng.toString();
    if (item.subHtmlObj && item.subHtmlObj.length === 4) {
      item.subHtmlObj[0].value = event.title;
      item.subHtmlObj[1].value = event.district;
      item.subHtmlObj[2].value = event.address;
      item.subHtmlObj[3].value = item.valueN;

      this.formGroup.patchValue({[item.subHtmlObj[0].formKey]: event.title});
      this.formGroup.patchValue({[item.subHtmlObj[1].formKey]: event.district});
      this.formGroup.patchValue({[item.subHtmlObj[2].formKey]: event.address});
      this.formGroup.patchValue({[item.subHtmlObj[3].formKey]: item.valueN});
    }
  }
  // 更新身份验证数据
  updateIdentityHandler(event) {
    this.formGroup.patchValue({ [event.formKey]: event.value });
    if ((typeof BaiduOcr) !== 'undefined') {
      this.checkOrc(event);
    }

  }
  // 更新图片数据
  updateUrlHandler(event) {
    if (event.formType === 'photoVideoSelectWidget') {
      this.formGroup.patchValue({ [event.subHtmlObj[0].formKey]: event.subHtmlObj[0].value });
      this.formGroup.patchValue({ [event.subHtmlObj[1].formKey]: event.subHtmlObj[1].value });

      if (event.subHtmlObj[1].formKeys && event.subHtmlObj[1].formKeys.indexOf(";") > -1) {
        const keyArray = event.subHtmlObj[1].formKeys.split(";");
        if (this.formGroup.contains(keyArray[0])) {
          this.formGroup.patchValue({ [keyArray[0]]: 'mp4' });
          this.formGroup.patchValue({ [keyArray[1]]: Number(event.subHtmlObj[1].size) });
        } else {
          this.formGroup.addControl(keyArray[0], new FormControl('mp4'));
          this.formGroup.addControl(keyArray[1], new FormControl(Number(event.subHtmlObj[1].size)));
        }
      }

      if (event.subHtmlObj && event.subHtmlObj.length === 3) {
        this.formGroup.patchValue({ [event.subHtmlObj[2].formKey]: event.subHtmlObj[2].value });
      }
      console.log('photoVideoSelectWidget:' + JSON.stringify(event));
    } else if (event.formType === 'fileSelectWidget') {
      this.formGroup.patchValue({ [event.formKey]: event.value });
      if (this.formGroup.contains(event.formKeys)) {
        
        this.formGroup.patchValue({ [event.formKeys]: event.valueN });
      } else {
        this.formGroup.addControl(event.formKeys, new FormControl(event.valueN));
      }
      
    } else {
      this.formGroup.patchValue({ [event.formKey]: event.value });
      if (event.textType && event.textType === 'pdf') {
        if (event.formKeys && event.formKeys.indexOf(";") > -1) {
          const keyArray = event.formKeys.split(";");
          if (this.formGroup.contains(keyArray[0])) {
            this.formGroup.patchValue({ [keyArray[0]]: event.valueLong });
            this.formGroup.patchValue({ [keyArray[1]]: event.valueIndex });
          } else {
            this.formGroup.addControl(keyArray[0], new FormControl(event.valueLong));
            this.formGroup.addControl(keyArray[1], new FormControl(event.valueIndex));
          }
        }
      } else if (event.textType && event.textType === 'textInput') {
        if (event.formKeys) {
          if (this.formGroup.contains(event.formKeys)) {
            this.formGroup.patchValue({ [event.formKeys]: event.valueIndex });
          } else {
            this.formGroup.addControl(event.formKeys, new FormControl(event.valueIndex));
          }
        }
      }
      if ((typeof BaiduOcr) !== 'undefined') {
        this.checkOrc(event);
      }
      // 发送给名片预览
      if (event.eventName ){
        this.appGlobalService.eventService.eventEmit.emit(event.eventName, event.value);
      }
    }

  }

  checkOrc(event) {
    if (event.orc && event.value) {
      if (event.orgPath !== undefined) {
        console.log("orgPath:" + event.orgPath);
      }

      const that = this;
      if (event.orc === "scanBusiness") {
        BaiduOcr.scanBusinessLicense({
          url: event.value,
          orgPath: event.orgPath ? event.orgPath : ""
        },
        (result) => {
          console.log(JSON.stringify(result));
          if (typeof result === "object") {
            that.autoUpdateFormData(result.words_result);
          } else {
            that.autoUpdateFormData(JSON.parse(result).words_result);
          }

        },
        (error) => {
          console.log(JSON.stringify(error));
      });
      } else if (event.orc === "IDCardFront" || event.orc === "IDCardBack") {
         // 默认使用的是本地质量控制，如果想使用拍照的方式，可以修改参数为
         // nativeEnable:false,nativeEnableManual:false
        BaiduOcr.scanId(
          {
              contentType: event.orc, // "IDCardFront", // 背面传 IDCardBack
              nativeEnable: true,
              nativeEnableManual: true,
              url: event.value,
              orgPath: event.orgPath ? event.orgPath : ""
          },
          (result) => {
              console.log(JSON.stringify(result));
              if (typeof result === "object") {
                that.autoUpdateFormData(result.words_result);
              } else {
                that.autoUpdateFormData(JSON.parse(result).words_result);
              }
          },
          (error) => {
              console.log(error);
          });
        } else if (event.orc === "scanBankCard") {
          BaiduOcr.scanBankCard({
            url: event.value,
            orgPath: event.orgPath ? event.orgPath : ""
          },
          (result) => {
            console.log(JSON.stringify(result));
            if (typeof result === "object") {
              that.autoUpdateFormData(result.words_result);
            } else {
              that.autoUpdateFormData(JSON.parse(result).words_result);
            }
          },
          (error) => {
            console.log(JSON.stringify(error));
          });

        }

    }
  }
  autoUpdateFormData(orcData) {
    const that = this;
    this.tagData.data.htmlObj.forEach(e => {
      const paramKeys = Object.keys(orcData);
      that.setKeyValue(paramKeys, e, orcData);

      if (e.subHtmlObj && e.subHtmlObj.length > 0) {
        e.subHtmlObj.forEach(element => {
          that.setKeyValue(paramKeys, element, orcData);

          if (element.subHtmlObj && element.subHtmlObj.length > 0) {
            element.subHtmlObj.forEach(ele => {
              that.setKeyValue(paramKeys, ele, orcData);
            });
          }

        });
      }

    });

  }

  setKeyValue(paramKeys, item, orcData) {
    if (item.orcKey && item.orcKey.length > 0) {
      for (let j = 0; j < paramKeys.length; j++) {
        if (item.orcKey === paramKeys[j]) {
          if (item.orcKey.indexOf('日期') > -1) {
            // 移除日期中文
            const regex = /[\u4e00-\u9fa5]/g;
            const result = orcData[paramKeys[j]].words.replace(regex, '');
            item.value = result;
          } else {
            item.value = orcData[paramKeys[j]].words;
          }

          this.formGroup.patchValue({[item.formKey]: item.value});
        }
      }
    }

  }
  // 更新行业数据
  submitAction(event, item) {

    if (event) {
      const selectedData = event;
      const selectedLabel = selectedData.map(v => {
        return v.label;
      });
      const selectedValue = selectedData.map(v => {
        return v.value;
      });
      if (event.length) {
        this.formGroup.patchValue({ [item.formKey]: selectedValue });
        item.value = selectedValue;
        // item.showValue = selectedLabel;
      } else {
        this.formGroup.patchValue({ [item.formKey]: '' });
        item.value = '';
      }
    }
    if (item.showValue === 'generalSubmit') {

      this.innerBtnClick(item);
    }

  }
  onValueChanged() {
    if (!this.formGroup) {
      return;
    }

    // for (const field in this.formErrors) {
    //   this.formErrors[field] = '';
    //   const control = form.get(field);
    //   if (control && control.dirty && !control.valid) {
    //     const messages = this.validationMessage[field];
    //     for (const key in control.errors) {
    //       this.formErrors[field] += messages[key] + '\n';
    //     }
    //   }
    // }
  }
  inputClick(item) {
    console.log('click input');
    if (item.showValue === 1 && item.formType === "textAreaLines" && item.autoHeight !== 1) {
      this.loadAutoHeight(item);
      item.autoHeight = 1;
    }

    if (item.disabled && item.tips) {
      this.appGlobalService.showToast(item.tips, 1500, "middle");
    } else if (item.disabled && item.formType === 'detailAddress') {
      this.openModalMapPage(item);
    }
  }
  deleteValue(item) {
    if (item.value) {
      item.value = '';
      this.formGroup.patchValue({ [item.formKey]: item.value });
      if (item.formType === 'selectCertificates') {
        item.itemList = [];
      }
    }
  }
  beforeSubmit() {
    // for (const field in this.formErrors) {
    //   this.formErrors[field] = '';
    //   const control = form.get(field);

    //   if (control && !control.valid) {
    //     const messages = this.validationMessage[field];
    //     for (const key in control.errors) {
    //       this.formErrors[field] += messages[key] + '\n';
    //       if (field === 'userName') {
    //         this.onFocus = {
    //           focus: true
    //         };
    //       }
    //     }
    //     return false;
    //   } else {
    //     return true;
    //   }
    // }
  }

  switchCheck(value) {
    console.log('switch status:', value);
  }

  getErrors(form) {
    const errs = [];
    for (const name in form.controls) {
      // eg: controls[name] = phone
      if (form.controls[name].errors) {
        errs.push({ key: [name], err: form.controls[name].errors });
      }
    }
    if (errs.length) {
      const errItem = errs[0];

      const firstErrMsgKey = Object.keys(errItem.err)[0];
      console.log(errItem.key, '校验的字段名');
      const messageObj = this.allLabel[errItem.key];
      let showMessage = messageObj[firstErrMsgKey];
      // if (errItem.err.required !== undefined) {
      //   showMessage = messageObj.required;
      // } else if (errItem.err.pattern !== undefined) {
      //   showMessage = messageObj.pattern;
      // } else
      if (errItem.err.rangeError !== undefined) {
        const label = messageObj.label.slice(-2);
        showMessage = `${messageObj.label}不得小于/等于最小${label}`;
      }
      // else {
      //   showMessage = '请输入正确的' + messageObj.label;
      // }

      this.appGlobalService.showToast(showMessage, 3000, 'top');

    }
  }

  getErrorsStep1(form, callback) {
    const options = []; // 具有相同option值的比如这里设置1 item 归为一组，至少填写一项 否则提示tips （每一个item应有相同的tips）
    const errs = [];
    for (let index = 0; index < this.fieldset0.length; index++) {
      const element = this.fieldset0[index];
      if (element.formKey !== undefined) {
        if (element.option === '1') {
          options.push(element);
        }
        if (form.controls[element.formKey].errors) {
          errs.push({ key: [element.formKey], err: form.controls[element.formKey].errors });
        }
      }
    }
    let lessOneValue = false;
    if (options.length > 1) {
      options.forEach(e => {
        if (e.value && e.value.length > 0) {
          lessOneValue = true;
        }
      });
    }
    if (!lessOneValue && options.length > 1) {
      const msg = options[0].tips ? options[0].tips : '请至少填写一项';
      this.appGlobalService.showToast(msg, 1500, 'top');
      callback(false);
    } else
      if (errs.length) {
        const errItem = errs[0];

        const firstErrMsgKey = Object.keys(errItem.err)[0];
        console.log(errItem.key, '校验的字段名');
        const messageObj = this.allLabel[errItem.key];
        let showMessage = messageObj[firstErrMsgKey];
        // if (errItem.err.required !== undefined) {
        //   showMessage = messageObj.required;
        // } else if (errItem.err.pattern !== undefined) {
        //   showMessage = messageObj.pattern;
        // } else
        if (errItem.err.rangeError !== undefined) {
          const label = messageObj.label.slice(-2);
          showMessage = `${messageObj.label}不得小于/等于最小${label}`;
        }
        // else {
        //   showMessage = '请输入正确的' + messageObj.label;
        // }

        this.appGlobalService.showToast(showMessage, 3000, 'top');
        callback(false);
      } else {
        callback(true);
      }
  }


  onReset() {
    this.formGroup.reset();
  }

  afterChange(event) {
    console.log(event, 'afterChange');
  }

  inputErrorClick() {
    alert('At least four charactors for account');
  }

  inputChange() {
  }

  // singleColumnSelect
  showActionSheet(item) {
    if (item.disabled) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }
      return;
    }
    // 如只有一个选项，且是model
    if (item.data && item.data.length === 1) {
      const data = item.data[0];
      if (data.type && data.type === 'modal') {
        this.openModalOfPersonSelect(item, data);
      }
    } else {
      const that = this;
      let lastIndex: -1;
      const buttons: any = [];
      item.data.forEach((element, index) => {
        buttons.push(element.label);
        if (element.value === item.value) {
          lastIndex = index;
        }
      });
      // 上次选择过
      if (lastIndex > -1) {
        ActionSheetService.showActionSheetWithOptions(
          {
            options: buttons,
            // cancelButtonIndex: BUTTONS.length - 1,
            destructiveButtonIndex: lastIndex,
            // title: 'title',
            // message: item.label,
            maskClosable: true
          },
          buttonIndex => {
            if (buttonIndex > -1) {
              console.log(item.data[buttonIndex]);
              that.selectItem(buttonIndex, item);
            }
          }
        );
      } else {
        // 第一次选择
        ActionSheetService.showActionSheetWithOptions(
          {
            options: buttons,
            maskClosable: true
          },
          buttonIndex => {
            if (buttonIndex > -1) {
              console.log(item.data[buttonIndex]);
              that.selectItem(buttonIndex, item);
            }
          }
        );
      }
    }

  }

  selectItem(index, item) {
    const data = item.data[index];
    if (!data.type || data.type === 'value') {
      this.formGroup.patchValue({ [item.formKey]: item.data[index].value });
      item.showValue = item.data[index].label;
      item.value = item.data[index].value;
      // 计算打折
      if (item.eventName === "checkProfit") {
       this.checkProfit("discount", item.value);
      }
      if (item.subHtmlObj && item.subHtmlObj.length > 0) {
        item.subHtmlObj.forEach(it => {
          if ((item.value && it.showCondition &&
            (it.showCondition.indexOf(item.value) > -1 || item.value.indexOf(it.showCondition) > -1)) ||
            !it.showCondition) {

            if ((it.formType === 'modalMultipleSelectLJ_AfterSubmit' ||
              it.formType === 'modalMultipleSelect3_Full' ||
              it.formType === 'modalMultipleSelect3_Full_Common' ||
              it.formType === 'modalMultipleSelect3_Auto_Full') &&
              it.submit) {

              it.submit.content = { [item.formKey]: item.value };
              if (it.formType === 'modalMultipleSelect3_Full' ||
                it.formType === 'modalMultipleSelect3_Auto_Full' ||
                it.formType === 'modalMultipleSelect3_Full_Common') {
                it.children = [];
              } else {
                it.data = [];
              }

              // 清空一下
              this.formGroup.patchValue({ [it.formKey]: '' });
              it.value = '';
              it.showValue = '';
              this.getIndustryData(it);

            }
          }
        });

      }

      this.checkSubHtmlObj(item);
      if (item.changeTitle) {
        document.getElementById('nav-title').innerText = item.showValue;
      }

    } else
      if (data.type && data.type === 'modal') {

        this.openModalOfPersonSelect(item, data);
      }

  }
  checkProfit(type , value) {
    try {
        this.tagData.data.htmlObj.forEach(e => {
          if (e.formType === 'editItemListTable' && e.eventName === "getProfit") {
            this.calculatingProfit(e, type , value);
            throw new Error('break');
          }

          if (e.subHtmlObj && e.subHtmlObj.length > 0) {
            e.subHtmlObj.forEach(element => {
              if (element.formType === 'editItemListTable' && element.eventName === "getProfit") {
                this.calculatingProfit(element, type , value);
                throw new Error('break');
              }
            });
          }

        });
      } catch (error) {
        if (error.message !== 'break') {
          throw error;
        }
      }
    }
  // 计算利润
  calculatingProfit(item, type , value) {
    if (item.itemList && item.itemList.length > 0) {
      let showError = false;
      try {

        item.itemList.forEach(element => {
          if (value) {
            if (type === 'discount') {
              element.value = ( parseFloat(element.valueDef)  * parseFloat(value)  * 0.1) .toFixed(2);
              element.profit = ( parseFloat(element.value) - parseFloat(element.minValue)) .toFixed(2);
            } else {
              element.value = ( parseFloat(element.valueDef)  - parseFloat(value) ) .toFixed(2);
              element.profit = ( parseFloat(element.value) - parseFloat(element.minValue)) .toFixed(2);
            }
            if (element.profit < 0 ) {
              showError = true;
            }
          }


        });
      } catch (error) {
        if (error.message !== "break") {
          throw error;
        }
      }
      this.editItemListDefValue(item);
      if (showError) {
        this.appGlobalService.showToast('新零售价不可低于拿货价，请修改折扣', 2000, "top");
        return;
      }
    }

  }
  // 遍历是否有需要展开或者隐藏的
  checkSubHtmlObj(item) {
    const that = this;
    if (item.formType === 'modalOfLocalEdit') {
      return;
    }
    if (item.subHtmlObj !== undefined && item.subHtmlObj.length > 0) {
      let temp: any = null;
      const tempAdd: any = [];
      try {
        item.subHtmlObj.forEach(element => {

          if (item.formType === 'nextPageFomObj' && !this.isModalFlow) {
            this.appGlobalService.nextPageFomObj = item;
            // this.cd.detectChanges();
            throw new Error('break');

          }
          if (item.formType === 'nextPageFomObj' && this.isModalFlow) {
            this.fieldset1 = item.subHtmlObj;
            this.fieldsets[1] = this.fieldset1;
          }
          if (element.showCondition && !(item.value === null || item.value === undefined) &&
            ( element.showCondition.indexOf(item.value) > -1 ||
              (item.value.indexOf(element.showCondition) > -1) ||
              (item.value.indexOf(element.showCondition2) > -1))) {
            // 子项 Key 相同的情况 add del 是相同的
            if (item.subHtmlObj.length > 1 && item.subHtmlObj[0].formKey === item.subHtmlObj[1].formKey) {
              temp = element;
            } else {
              that.addSubFormControl(element);
              tempAdd.push(element);
            }
          } else if (element.showCondition &&  !(item.value === null || item.value === undefined) &&
            !( element.showCondition.indexOf(item.value) > -1 ||
              ( item.value.indexOf(element.showCondition) > -1) ||
              (item.value.indexOf(element.showCondition2) > -1))) {
            // 处理子项key 相同 但使用条件不一样
            let canDel = true;
            tempAdd.forEach(e => {
              if (e.formKey === element.formKey) {
                canDel = false;
              }
            });
            if (canDel) {
              that.removeFormControl(element);
            }
          } else if (element.showCondition2 && (item.value.indexOf(element.showCondition) > -1 || item.value.indexOf(element.showCondition2) > -1)) {
            that.addSubFormControl(element);
          } else if (!element.showCondition ||
              (element.showCondition && (element.showCondition.indexOf(item.value) > -1 || (item.value && item.value.indexOf(element.showCondition) > -1) || 
              (item.value && item.value.indexOf(element.showCondition2) > -1)))) {
                that.addSubFormControl(element);
          } else if (!element.showCondition) {
            that.addSubFormControl(element);
            tempAdd.push(element);
          }
          if (temp !== null) {
            that.addSubFormControl(temp);
          }

        });
      } catch (error) {
        if (error.message !== 'break') {
          throw error;
        }
      }

    }

  }
  addSubFormControl(formItem) {
    this.addFormControl(formItem);
    // if (formItem.subHtmlObj && formItem.subHtmlObj.length) {
    //   formItem.subHtmlObj.forEach(element => {
    //     this.addSubFormControl(element);
    //   });
    // }
  }

  sub(event, item, i) {

    if (i === 0) {
      item.value = item.value - 0;
      item.value -= 1;
      if (item.value <= 0) {
        item.value = 1;
        this.appGlobalService.showToast('不能再减了', 1500, 'middle');
        event.stopPropagation();
      }

    } else if (i === 1) {
      item.value = item.value - 0;
      item.value += 1;
    }

    event.stopPropagation();
    if (item.formType === 'addItemCountNoInput') {
      this.formGroup.patchValue({[item.formKey]: item.value});
    }
    if (item.formType === 'addItemCount' && item.eventType === "updateTotalAmount") {
      this.updateNormalBtns (Number(item.showValue) * item.value);
    }
  }
  inutValue(event, item) {
    if (item.value <= 0) {
      item.value = 1;
    }
  }
  percentChangeValue(event, p, it, item) {
    if (!item.value) {
      item.value = 0;
    }
    if (it.textType === 'Number' || it.textType === 'number') {
      p.value = event.detail.value;
    }
    if (event.detail.value.length > Number(it.maxLength)) {
      p.value = event.detail.value.slice(0, Number(it.maxLength));
    }

    if (p.value > 100) {
      p.value = 100;
    }
    let perent = 0;

    for (let i = 0; i < it.itemList.length; ++i) {

      if (perent + parseInt((it.itemList[i].value), 10) > 100) {
        it.itemList[i].value = perent = 100 - perent;
        perent = 100;
      } else {
        perent = perent + parseInt((it.itemList[i].value), 10);
      }
      it.itemList[i].valueN = Math.floor(it.itemList[i].value * item.value) / 100;
    }

    this.updateItemListValue(it);


  }
  updateItemListValue(it) {
    const arrayValue = [];
    for (let i = 0; i < it.itemList.length; ++i) {
      arrayValue.push(it.itemList[i].value);
    }
    it.value = arrayValue.join(',');
    if (it.sep !== undefined) {
      it.value = arrayValue.join(it.sep);
    }
    this.formGroup.patchValue({ [it.formKey]: it.value });
  }
  addItem(it) {
    it.itemList.push({ value: 0, valueN: 0 });
    this.updateItemListValue(it);
  }
  delItem(item, it, i) {
    it.itemList.splice(i, 1);
    this.updateItemListValue(it);
  }
  editItemListChangeValue(item, it, e) {
    this.timer?clearInterval(this.timer):'';
    this.timer = setTimeout(() => {
      if (it.check !== true && e && e.detail && e.detail.value !== undefined && Number(e.detail.value) !== Number(it.value)){
        it.check = true;
      } else if (e && e.detail && e.detail.value === ''){
        it.check = false;
      }
      // valueN,value-2,0-3,600
      const valueIndexArray: any = [];
      for (let index = 0; index < item.itemList.length; index++) {
        const value =  document.getElementById(item.formKey + "_" + index) as HTMLInputElement;
        let valueIndex = "";

        if (value.value) {
          
          if (item.digit && Number(item.digit) > 0 && e.detail && e.detail.value 
              && e.detail.value.split('.')[1] && e.detail.value.split('.')[1].length > Number(item.digit)) {
            value.value = parseFloat(value.value).toFixed(Number(item.digit));
          }
  
  
          if (it.valueN === item.itemList[index].valueN) {
            it.value = value.value;
          }
          valueIndex = item.itemList[index].valueN + ',' + value.value;
          valueIndexArray.push(valueIndex);
        } else {
          valueIndex = item.itemList[index].valueN + ',' + "0";
          valueIndexArray.push(valueIndex);
        }
      }
  
      this.tagData.valueIndexArray = valueIndexArray;
      item.value = valueIndexArray.join('-');
      console.log(item.value);
      this.formGroup.patchValue({ [item.formKey]: item.value });
      if (it.value && it.minValue && !item.disabled) {
        // 每行单独输入后计算利润
        it.profit = ( parseFloat(it.value) - parseFloat(it.minValue)) .toFixed(2);
        if (it.profit < 0) {
          this.appGlobalService.showToast('新零售价不可低于拿货价，请修改零售价格', 2000, "top");
        }
      }
    }, 50);
  }

  editItemListDefValue(item) {

    // valueN,value-2,0-3,600
    const valueIndexArray: any = [];
    for (let index = 0; index < item.itemList.length; index++) {
      const it = item.itemList[index];
      if (it.value && it.valueN) {
          valueIndexArray.push(it.valueN + ',' + it.value);
      } else {
        valueIndexArray.push(it.valueN + ',' + "0");
      }

      if (((item.eventName && item.eventName === "getProfit" ) || (item.disabled === undefined || item.disabled === false))) {
        // 初始化赋值利润
        if (it.value && it.minValue) {
          it.profit = ( parseFloat(it.value) - parseFloat(it.minValue)) .toFixed(2);
        }
      }

    }

    this.tagData.valueIndexArray = valueIndexArray;
    item.value = valueIndexArray.join('-');
    console.log(item.value);
    this.formGroup.patchValue({ [item.formKey]: item.value });


}
  ionBlur(item) {
      if (item.textType === 'Number' || item.textType === 'number') {
        if ( item.digit && Number(item.digit) > 0) {
          item.value = parseFloat(item.value).toFixed(Number(item.digit));
        }
      }
    }

  changeValue(event, item) {
    item.value = event.detail.value;
    if (item.textType === 'Number' || item.textType === 'number') {
      
      if (event.detail && event.detail.value.length > Number(item.maxLength)) {
        item.value = Number(event.detail.value.toString().slice(0, Number(item.maxLength)));
        this.cd.markForCheck();
        this.cd.detectChanges();
      }
    } else {
      if (event.detail && event.detail.value.length > Number(item.maxLength)) {
        item.value = event.detail.value.toString().slice(0, Number(item.maxLength));
        this.cd.markForCheck();
        this.cd.detectChanges();
      }
    }

    
    this.formGroup.patchValue({ [item.formKey]: item.value });
    if (item.getPriceTag && item.getPriceTag.submit && item.getPriceTag.submit.content) {
      item.getPriceTag.submit.content.quote_service_days = item.value;
      this.getPrice(item.getPriceTag,item);
    }

    if (item.formType === 'getCashType') {
      if (item.showValue && Number(item.value)  > Number(item.showValue)) {
        item.value = item.showValue;
        this.formGroup.patchValue({ [item.formKey]: item.value });
      }

      if (item.subHtmlObj && item.subHtmlObj[0].formType === 'addPercentItemList') {
        let perent: any = 0;
        const it = item.subHtmlObj[0];
        for (let i = 0; i < it.itemList.length; ++i) {

          if (perent + parseInt(it.itemList[i].value, 10) > 100) {
            it.itemList[i].value = 100 - perent;
            perent = 100;
          } else {
            perent = perent + parseInt(it.itemList[i].value, 10);
          }

          it.itemList[i].valueN = Math.floor(it.itemList[i].value * item.value) / 100;
        }
        this.updateItemListValue(it);
      }
    }
    if (item.formType === 'slider') {
      if (event.detail.value >= item.itemList[item.itemList.length - 1].value) {
        item.showValue = '不限';
      } else {
        item.showValue = null;
      }
    }
    this.checkSendEventItem(item);

  }
  typeChangeValue(event, item){
    if (item.subHtmlObj && item.subHtmlObj[0].formType === 'addType') {
      if (event.detail.value.length > Number(item.subHtmlObj[0].maxLength)) {
        item.subHtmlObj[0].value = event.detail.value.slice(0, Number(item.subHtmlObj[0].maxLength));
        this.formGroup.patchValue({ [item.subHtmlObj[0].formKey]: item.subHtmlObj[0].value });
      } else {
        item.subHtmlObj[0].value = event.detail.value; 
      }
    }
  }
  typeCheckClick(item){
    if (item.subHtmlObj[0].value){  
      if(item.subHtmlObj && item.subHtmlObj[0].butSubmit){
        item.subHtmlObj[0].butSubmit.content[item.subHtmlObj[0].formKey] = item.subHtmlObj[0].value
        const params = {
          content: item.subHtmlObj[0].butSubmit.content,
          id: item.subHtmlObj[0].butSubmit.id,
          sessionId: localStorage.getItem('sessionId')
        };
        this.http.post('application/submit', params, res => {
          if (res.success && res.data && res.data.eventResult) {
  
            item.itemList.forEach(element => {
              element.check = false;
            })
            item.value = res.data.eventResult;
            item.showValue = item.subHtmlObj[0].value;
            item.itemList.push({label:item.subHtmlObj[0].value,value:res.data.eventResult,check:true})
            item.subHtmlObj[0].value = ''
            item.subHtmlObj[0].check = false;
            this.formGroup.patchValue({[item.formKey]:item.value})
          }
  
        });
  
      }
    } else {
      if (item.subHtmlObj[0].tips) {
        this.appGlobalService.showToast(item.subHtmlObj[0].tips,1500,"top")
      } else {
        this.appGlobalService.showToast('请输入分类名称',1500,"top")
      }
    }
  
  }
  checkSendEventItem(item, sendPrice?) {
    //  eventName="sendPrice" 表示 设置精选 价格 eventName="receiverPrice"接收精选价格
    // eventName="sendDay" 表示 设置账户到期日期 sectionDesc的 eventName="receiverDay"接天数
    if (((item.eventName === "sendTitle" || item.eventName === "sendPrice" || item.eventName === "sendDay") &&
    item.formType !== "modalMultipleSelect")) {
      if ((item.value === undefined || item.value === '' || item.value === null) && item.eventName != "sendTitle") {
        item.value = 0;
      }

      try {
        this.tagData.data.htmlObj.forEach(e => {
          if (e.formType === 'profit' && e.eventName === "receiverPrice") {
            this.checkTips(item, e);
            throw new Error('break');

          }
          if (e.eventName === "getTitle") {
            if (item.value && item.value.length > 0){
              e.label = item.value;
            } else {
              e.label="蜂喔";
            }

            throw new Error('break');

          }
          if (e.formType === 'sectionDesc' && e.eventName === "receiverDay") {
            this.checkDate(item, e);
            throw new Error('break');

          }
          if (e.subHtmlObj && e.subHtmlObj.length > 0) {
            e.subHtmlObj.forEach(element => {
              if (element.formType === 'profit' && element.eventName === "receiverPrice") {
                this.checkTips(item, element);
                throw new Error('break');
              }
              if (element.formType === 'sectionDesc' && element.eventName === "receiverDay") {
                this.checkDate(item, element);
                throw new Error('break');
              }
            });
          }

        });
      } catch (error) {
        if (error.message !== 'break') {
          throw error;
        }
      }

    } else if (item.eventName === "checkProfit" && item.formType === 'textInput') {
      // 计算统一立减
     this.checkProfit("value", item.value);
    }
    // 发送给名片预览
    if (item.eventName ){
      this.appGlobalService.eventService.eventEmit.emit(item.eventName, item.value);
    }
  }

  checkDate(item, e) {
    item.value = (Number(item.value));
    const newDate: Date = this.appGlobalService.dateAdd( "d ", item.value, new Date());
    e.showValue =  this.currentDateFormat(newDate, 'yyyy-mm-dd');
    e.value = e.showValue;
  }

  checkTips(item, e) {
    e.showValue = Number(Number(e.showValue).toFixed(2));
    e.value = Number(Number(e.value).toFixed(2));
    item.value = Number(Number(item.value).toFixed(2));
    // tslint:disable-next-line:max-line-length
    if (e.label && e.label.length > 0) {
      e.tips = e.label + (((e.showValue * 1000) - (item.value * 1000)) / 1000).toFixed(2) + e.unit + '，'
      + e.extra + (((item.value * 1000) - (e.value * 1000)) / 1000).toFixed(2) + e.unit;
    } else {
      e.tips =  e.extra + (((item.value * 1000) - (e.value * 1000)) / 1000).toFixed(2) + e.unit;
    }

  }
  // 实时检查电话
  checkNow(item) {
    if (item.checkNow && item.submit && item.submit.id && item.value.length === 11) {
      const params = {
        content: { [item.formKey]: item.value },
        id: item.submit.id,
        sessionId: localStorage.getItem('sessionId')
      };
      this.http.post('application/submit', params, res => {
        if (res.message) {
          this.alert(res.message);
        }

      });
    }
  }

  async alert(message) {
    const alert = await this.alertController.create({

      header: '',
      subHeader: '',
      message,
      buttons: [{
        text: '取消',
        role: 'cancel',
        cssClass: 'secondary',
        handler: (blah) => {
          console.log('取消');
          this.appGlobalService.goBack();
        }
      }, {
        text: '继续',
        cssClass: 'LJ',
        handler: () => {
          console.log('继续');
        }
      }, ]
    });
    await alert.present();
  }

  switchButtonSystem(item) {

    item.value = item.showValue ? '1' : '0';
    this.formGroup.patchValue({ [item.formKey]: item.value });
    this.checkSubHtmlObj(item);
    const update = new Date().getTime();
    if (this.hintId == undefined || update - Number(this.hintId.split('hintId')[1]) > 500 ){
      if(item.valueN === 'generalSubmit'){
        this.innerBtnClick(item);
      }
    }
  }

  changeItemobjValidator(item, type?, i?) {
    if (item.disabled) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }
      return;
    }
    const that = this;
    if (type === 'contractSelectWidget') {
      item.value = item.value === 'true' ? 'false' : 'true';
      this.formGroup.patchValue({ [item.formKey]: item.vaule });
      if (item.value === 'true') {
        console.log('show1');
        item.subHtmlObj.forEach(e => {
          that.addFormControl(e);
        });

      } else {
        item.subHtmlObj.forEach(e => {
          that.removeFormControl(e);
        });
        console.log('hidde');
      }
    } else if (type === 'multipleColumnSelect') {

      console.log(item.value);
    } else if (type === 'quickRelease') {
      item.value = item.value === 'true' ? 'false' : 'true';
      this.formGroup.patchValue({ [item.formKey]: item.value });
    } else if (type === 'checkBox') {
      item.value = item.value === '1' ? '0' : '1';
      this.formGroup.patchValue({ [item.formKey]: item.value });
      this.checkSubHtmlObj(item);
    } else if (type === 'showSingleSelect') {

      if (item.disabled) {
        if (item.tips && item.tips.length > 0) {
          this.appGlobalService.showToast(item.tips, 1500, "middle");
        }
        return;
      }
      // 增加 多选支持
      if (item.multiSelect === true) {
        let value = '';
        const valueArray: any = [];
        const labelsArray: any = [];
        if (item.minSize && item.minSize > 0 && i.check) {
          let size = 0;
          item.itemList.forEach(e => {
            if (e.check) {
              size += 1;
            }
          });
          if (size < item.minSize) {
            if (item.lessTip && item.lessTip.length > 0) {
              this.appGlobalService.showToast(item.lessTip, 2000, 'top');
            } else {
              this.appGlobalService.showToast(`${item.label}至少选择${item.minSize}项`, 2000, 'top');
            }
            return;
          }
        }
        i.check = !i.check;
        item.itemList.forEach(e => {
          if (e.check) {
            valueArray.push(e.value);
            labelsArray.push(e.label);
          }
        });
        value = valueArray.join(',');
        if (item.sep !== undefined) {
          value = valueArray.join(item.sep);
        }
        item.showValue = labelsArray.join('、');
        item.value = value;
        this.formGroup.patchValue({ [item.formKey]: item.value });

      } else {
        let label = null;
        if (i.check) {
          item.value = i.value;
          if(i.valueN) label = i.valueN;
          if (i.formObj && i.formObj.length > 0) {
            // add
            i.formObj.forEach(e => {
              this.addFormControl(e);
            });
          }
        } else {
          item.itemList.forEach(element => {
            if (element === i) {
              i.check = true;
              item.showValue = i.label;
              item.value = i.value;
              if(i.valueN)label = i.valueN;
              if (i.formObj && i.formObj.length > 0) {
                // add
                i.formObj.forEach(e => {
                  that.addFormControl(e);
                });
              }
            } else {
              if (element.check && element.formObj && element.formObj.length > 0) {
                // remove
                element.formObj.forEach(e => {
                  that.removeFormControl(e);
                });
              }
              element.check = false;

            }   
          });
        }
        if(item.formKeys === 'locationAddressLabel' && item.eventName === "setLocationAddressLabel" && label){
          if(that.formGroup.contains(item.formKeys)){
            this.formGroup.patchValue({ [item.formKeys]: label });
          } else {
            that.formGroup.addControl(item.formKeys, new FormControl(label));
          }
        }
      }

      this.checkSubHtmlObj(item);
      console.log(item.value);
      this.formGroup.patchValue({ [item.formKey]: item.value });

    } else if (type === 'switchButton' ||
      type === 'switchButtonLJ' ||
      type === 'switchButtonLJ_icon' ||
      type === 'radioButtonLJ' ||
      type === 'switchButtonFW' ||
      type === 'switchButtonKD' ||
      type === 'switchButtonFW_3' ||
      type === 'switchButtonJoin' ||
      type === 'radioButton' ||
      type === 'chooseGrade') {

      if (item.itemList[i].link && item.itemList[i].link.target) {

        this.pageModalService.openPage(item.itemList[i].link);
        return;
      }
      // 增加 多选支持
      if (item.multiSelect === true) {
        let value = '';
        const valueArray: any = [];
        item.itemList[i].check = !item.itemList[i].check;
        // 支持最多选择数目 max
        if (item.max > 1) {
          let maxN = 0;
          item.itemList.forEach(e => {
            if (e.check) {
              maxN += 1;
            }
          });
          if (maxN > item.max) {
            item.itemList[i].check = !item.itemList[i].check;
            if (item.lessTip && item.lessTip.length > 0) {
              this.appGlobalService.showToast(item.lessTip, 1500, "middle");
            }
          }
        } else {
          // 互斥
          if (item.itemList[i].radio === true && item.itemList[i].check === true) {
            item.itemList.forEach(e => {
              if (e.check && e.radio) {

              } else {
                e.check = false;
              }
            });
          } else if (item.itemList[i].check === true) {
            item.itemList.forEach(e => {
              if (e.check && e.radio) {
                e.check = false;
              }
            });
          }

        }
        setTimeout(() => {
          if (this.fwInput) {
            this.fwInput.setFocus();
          }
        }, 150);

        item.itemList.forEach(e => {
          if (e.check) {
            valueArray.push(e.value);
          }
        });
        value = valueArray.join(';');
        if (item.sep !== undefined) {
          value = valueArray.join(item.sep);
        }
        item.value = value;
        this.formGroup.patchValue({ [item.formKey]: item.value });

      } else {
        if (item.itemList[i].check) {
          return;
        } else {
          if (type === 'switchButtonKD') {
            if (item.itemList[i].valueN === '--'){
              item.itemList[i].check = false;
              return;
            } else if (item.itemList[i].valueN && Number(item.itemList[i].valueN) > 0) {
              this.updateNormalBtns (Number(item.itemList[i].valueN),0);
            } else {
              this.updateNormalBtns (0,0);
            }
          }
          item.itemList[i].check = true;
          item.value = item.itemList[i].value;
          item.showValue = item.itemList[i].label;

          // 主页下单
          if (item.itemList[i].unit && item.itemList[i].valueN) {
            if (item.itemList[i].unit === "￥") {
              item.showValue = item.itemList[i].label + ' ' + item.itemList[i].unit + item.itemList[i].valueN;
            } else {
              item.showValue = item.itemList[i].label + ' '  + item.itemList[i].valueN + item.itemList[i].unit;
            }

          }
          this.formGroup.patchValue({ [item.formKey]: item.value });
          // post-title-tips
          // 改变title文案
          if (item.itemList[i].changeTitleLabel && item.itemList[i].changeTitleLabel.length > 0) {
            document.getElementById('post-title-tips').innerHTML = item.itemList[i].changeTitleLabel;
          }
        }
        item.itemList.forEach(element => {
          if (item.itemList[i] !== element) {
            element.check = false;
          }
        });
      }
      if (item.subHtmlObj && item.subHtmlObj.length > 0) {
        item.subHtmlObj.forEach(it => {
          if ((item.value &&
            it.showCondition &&
            (it.showCondition.indexOf(item.value) > -1 || item.value.indexOf(it.showCondition) > -1)) ||
            !it.showCondition) {

            if ((it.formType === 'modalMultipleSelectLJ_AfterSubmit' ||
              it.formType === 'modalMultipleSelect3_Full' ||
              it.formType === 'modalMultipleSelect3_Full_Common' ||
              it.formType === 'modalMultipleSelect3_Auto_Full') &&
              it.submit) {

              it.submit.content = { [item.formKey]: item.value };
              if (it.formType === 'modalMultipleSelect3_Full' || it.formType === 'modalMultipleSelect3_Auto_Full' || it.formType === 'modalMultipleSelect3_Full_Common') {
                it.children = [];
              } else {
                it.data = [];
              }

              // 清空一下
              this.formGroup.patchValue({ [it.formKey]: '' });
              it.value = '';
              it.showValue = '';
              this.getIndustryData(it);

            }
          }
        });

      }

      this.checkSubHtmlObj(item);
    } else if (type === 'joinLink' || type === 'joinLinks' || type === 'updateRules') {
      item.checked = !item.checked;
      item.value = item.checked ? '1' : '';
      this.formGroup.patchValue({ [item.formKey]: item.value });
    } else if (type === 'multipleInterestSelect') {
      let value = '';
      const valueArray: any = [];
      item.data[i].check = !item.data[i].check;
      item.data.forEach(e => {
        if (e.check) {
          valueArray.push(e.value);
        }
      });
      value = valueArray.join(';');
      if (item.sep !== undefined) {
        value = valueArray.join(item.sep);
      }
      item.value = value;
      this.formGroup.patchValue({ [item.formKey]: item.value });
    }

  }

  async showMultipleColumnSelect(item) {
    if (!item.data || item.data.length === 0) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }
      return;
    }
    const modal = await this.modalCtrl.create({
      showBackdrop: true,
      cssClass: 'modal-m-select',
      component: ModalOfSelectComponent,
      componentProps: { tagData: item }
    });
    await modal.present();
    // 监听销毁的事件
    const modalData = await modal.onDidDismiss(); // 获取关闭传回的值
    const array = [];
    const arrayValue = [];
    if (modalData.data) {
      modalData.data.data.data.forEach(element => {
        if (element.check) {
          array.push(element.label);
          arrayValue.push(element.value);
        }
      });
      item.data = modalData.data.data.data;
      item.showValue = array.join(',');
      item.value = arrayValue.join(',');
      if (item.sep !== undefined) {
        item.value = arrayValue.join(item.sep);
      }
      this.formGroup.patchValue({ [item.formKey]: item.value });
      if (item.subHtmlObj &&
        (item.subHtmlObj[0].formType === 'multipleColumnSelect' ||
          item.subHtmlObj[0].formType === 'modalMultipleSelectLJ_AfterSubmit' ||
          item.subHtmlObj[0].formType === 'modalMultipleSelect3_Full' ||
          item.subHtmlObj[0].formType === 'modalMultipleSelect3_Auto_Full') &&
        item.subHtmlObj[0].submit) {

        item.subHtmlObj[0].submit.content = { [item.formKey]: item.value };
        if (item.subHtmlObj[0].formType === 'modalMultipleSelect3_Full' ||
          item.subHtmlObj[0].formType === 'modalMultipleSelect3_Auto_Full' ||
          item.subHtmlObj[0].formType === 'multipleColumnSelect') {
          item.subHtmlObj[0].children = [];
        } else {
          item.subHtmlObj[0].data = [];
        }

        // 清空一下
        this.formGroup.patchValue({ [item.subHtmlObj[0].formKey]: '' });
        item.subHtmlObj[0].value = '';
        item.subHtmlObj[0].showValue = '';
        this.getIndustryData(item.subHtmlObj[0]);

      }
      this.checkSubHtmlObj(item);
    }

  }

  // TODO:
  async modalMultipleSelect3AutoFull(item) {
    if (!item.children || item.children.length === 0) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }
      return;
    }
    const that = this;

    const modal = await this.modalCtrl.create({
      component: ModalMultipleSelect3AutoFullComponent,
      componentProps: { value: item },

    });
    modal.onDidDismiss().then(function(data) {
      // that.formGroup.patchValue({ [item.formKey]: item.value });
      if (data.data) {
        const selectedData = data.data;
        const selectedLabel = selectedData.map(v => {
          return v.label;
        });
        const selectedValue = selectedData.map(v => {
          return v.code;
        });
        if (data.data.length) {
          that.formGroup.patchValue({ [item.formKey]: selectedValue });
          item.value = selectedValue;
          item.showValue = selectedLabel;
        } else {
          that.formGroup.patchValue({ [item.formKey]: '' });
          item.value = '';
        }
      }
    });
    return await modal.present();
  }

  async modalMultipleSelect3FullScreen(item, auto?) {
    if (!item.children || item.children.length === 0) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }
      return;
    }
    const that = this;
    if (auto) {
      item.auto = auto;
    }
    const modal = await this.modalCtrl.create({
      component: ModalMultipleSelect3FullScreenComponent,
      componentProps: { value: item },

    });
    modal.onDidDismiss().then(function(data) {
      // that.formGroup.patchValue({ [item.formKey]: item.value });
      if (data.data) {
        const selectedData = data.data;
        const selectedLabel = selectedData.map(v => {
          return v.label;
        });
        const selectedValue = selectedData.map(v => {
          return v.value;
        });
        if (data.data.length) {
          that.formGroup.patchValue({ [item.formKey]: selectedValue });
          item.value = selectedValue;
          item.showValue = selectedLabel;
        } else {
          that.formGroup.patchValue({ [item.formKey]: '' });
          item.value = '';
        }
      }
    });
    return await modal.present();
  }
  async modalMultipleSelect3(item, auto?) {
    if (!item.children || item.children.length === 0) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }
      return;
    }
    const that = this;
    if (auto) {
      item.auto = auto;
    }
    const id = this.pageModalService.addModeId();
    const modal = await this.modalCtrl.create({
      component: ModalMultipleSelect3Component,
      componentProps: { value: item },
      cssClass: 'auto-modal',
      id

    });
    modal.onDidDismiss().then(function(data) {
      that.pageModalService.removeModeId(id);
      that.formGroup.patchValue({ [item.formKey]: item.value });
      if (data.data) {
        const selectedData = data.data;
        const selectedLabel = selectedData.map(v => {
          return v.label;
        });
        const selectedValue = selectedData.map(v => {
          return v.code;
        });
        if (data.data.length) {
          that.formGroup.patchValue({ [item.formKey]: selectedValue });
          item.value = selectedValue;
          item.showValue = selectedLabel;
        } else {
          that.formGroup.patchValue({ [item.formKey]: '' });
          item.value = '';
        }
      }
    });
    return await modal.present();
  }
  // 打开行业模态框
  async openMultipleModal(item, isArea?) {
    if (!item.data || item.data.length === 0) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }
      return;
    }
    const that = this;
    const modal = await this.modalCtrl.create({
      component: ModalOfMultipleComponent,
      componentProps: { data: item },
      cssClass: item.formType.indexOf('LJ') > -1 ? 'LJ-modal-multiple' : "",

    });
    modal.onDidDismiss().then(function(data) {
      if (data.data) {
        const selectedData = data.data;
        const selectedLabel = selectedData.map(v => {
          return v.label;
        });
        const selectedValue = selectedData.map(v => {
          return v.value;
        });
        if (data.data.length) {
          that.formGroup.patchValue({ [item.formKey]: selectedValue });
          item.value = selectedValue;
          item.showValue = selectedLabel;
          // 查询价格
          that.getJoinPrice(item);

        } else {
          that.formGroup.patchValue({ [item.formKey]: '' });
          item.value = '';
        }
      }
    });
    return await modal.present();
  }

 getJoinPrice(item) {
  const that = this;
  if (item.butSubmit &&
    item.butSubmit.content &&
     item.butSubmit.content.fromKey ) {
        item.butSubmit.content[item.butSubmit.content.fromKey] = item.value.join(',');

        const params = {
          content: item.butSubmit.content,
          id: item.butSubmit.id,
          sessionId: localStorage.getItem('sessionId')
        };

        that.http.post('application/submit', params, res => {

          if (res.success && res.data && res.data.eventResult) {
            if (item.eventName === "sendPrice") {
              that.tagData.data.htmlObj.forEach(element => {
                if (element.eventName === "receivePrice") {
                  element.value = res.data.eventResult;
                  element.showValue = element.value;
                  that.formGroup.patchValue({ [element.formKey]: element.value });
                }

              });
            }
          }
        });

      }
 }
  // 打开选择人员模态框
  async openModalOfPersonSelect(item, data) {
    const that = this;
    if (item.value && item.value !== '') {
      data.selectValue = item.value;
    }
    const modal = await this.modalCtrl.create({
      component: ModalOfPersonSelectComponent,
      componentProps: { value: data }
    });
    modal.onDidDismiss().then(function(data) {
      if (data.data && data.data.data) {
        const selectedData = data.data.data;

        that.formGroup.patchValue({ [item.formKey]: selectedData.value });
        item.value = selectedData.value;
        item.showValue = selectedData.label;
      }
    });
    return await modal.present();
  }

  // 户型 许可证
  async openModalLocalEdit(item) {
    const that = this;
    if (item.dataValue && typeof item.dataValue === 'string') {
      item.dataValue = JSON.parse(item.dataValue.replace(/'/g, '"'));
    }
    const modal = await this.modalCtrl.create({
      component: ModalOfLocalEditComponent,
      componentProps: { tagData: item }
    });
    modal.onDidDismiss().then(function(data) {
      if (!item.dataValue || item.dataValue.length === 0) {
        that.formGroup.patchValue({ [item.formKey]: '' });
      } else {
        that.formGroup.patchValue({ [item.formKey]: JSON.stringify(item.dataValue).replace(/\"/g, "'") });
      }

      item.showValue = item.dataValue.length > 0 ? '编辑' : '';
    });
    return await modal.present();
  }


  // 编辑更多
  async openModalMoreEditInfo(item, nextStep?) {

    if (item.disabled) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }

      return;
    }
    // // 设计
    // if (item.showAnimation) {
    //   nextStep = true;
    // }
    const that = this;
    let id = '';
    if (item.showSearchModal) {
      id = 'showSearchModal';
      this.pageModalService.addModeId(id);
    } else if (item.showValue === 'NoShowSubmit') {
      id = 'NoShowSubmit';
      this.pageModalService.addModeId(id);
    }

    // FIXEDME
    if (id === '') {
      id = that.pageModalService.addModeId();
    }
    const modal = await this.modalCtrl.create({
      component: ModalOfEditMoreInfoComponent,
      componentProps: {
        value: item, nextStep, allForm: this.formGroup, showSearchModal: item.showSearchModal ? 1 : 0,
        cssClass: item.modalCssStyle,
        cssStyle: item.modalCssStyle

      },
      id,
      cssClass: item.modalCssStyle ? "auto-modal" : "",
      enterAnimation: item.showAnimation ? ModalFromRightEnter : null,
      leaveAnimation: item.showAnimation ? ModalFromRightLeave : null,
    });

    // present the modal
    modal.onDidDismiss().then(function(data) {
      if (data.data && data.data.form) {
        const hiddenForm: FormGroup = data.data.form;
        for (const cons in hiddenForm.controls) {
          if (that.formGroup.contains(cons)) {
            that.formGroup.patchValue({ [cons]: hiddenForm.controls[cons].value });
          } else if (nextStep) {

          } else {
            that.formGroup.addControl(cons, new FormControl(hiddenForm.controls[cons].value));
          }
        }
        if (item.formType === 'addServiceSpecification') {
          if (item.subHtmlObj.length === 2) {
            if (!item.itemList) {
              item['itemList'] = [];
            }
            if (item['index'] === -1) {
              item.itemList.push({label: item.subHtmlObj[0].value, value: item.subHtmlObj[1].value});
            } else {
              item.itemList[item['index']].label = item.subHtmlObj[0].value;
              item.itemList[item['index']].value = item.subHtmlObj[1].value;
            }
            that.checkAddSPValue(item);

          }

        } else if (item.formType === 'textInput') {
          // 左邻右舍
          if (item.subHtmlObj && item.subHtmlObj.length === 1 &&
            (item.subHtmlObj[0].formType === 'switchButtonFW_3' || item.subHtmlObj[0].formType === 'singleSelect3')) {
            item.value = item.subHtmlObj[0].showValue;
            that.formGroup.patchValue({ [item.formKey]: item.value });
          }
        } else if (item.formType === 'commaSpliceShowValueForm') {
          const array: Array<string> = [];
          item.subHtmlObj.forEach(element => {
            // 赋值
            if (element.formType === 'multipleForm') {
              element.value = hiddenForm.controls[element.formKey].value;
              if (element.subHtmlObj.length && element.subHtmlObj[0].formKey.indexOf('cus_') > -1) {

                const a = element.value.split(',');
                a.forEach(e => {
                  if (e && e !== '') {
                    array.push(e);
                  }
                });

              }
            }

          });
          item.showValue = array.join(',');

        } else if (item.formType === 'selectAddressWidget' ||
          item.formType === 'selectAddressWidgetLJ') {
          const address = data.data.address;
          if (address) {
            that.address = address;
            if (item.subHtmlObj.length > 2) {
              item.value = item.subHtmlObj[0].showValue +
                item.subHtmlObj[0].subHtmlObj[0].showValue +
                item.subHtmlObj[1].value +
                (item.subHtmlObj[2].value ? item.subHtmlObj[2].value : '');
            } else if (item.subHtmlObj.length > 1) {
              item.value = item.subHtmlObj[0].showValue + item.subHtmlObj[0].subHtmlObj[0].showValue + item.subHtmlObj[1].value;
            }
            item.value = item.value.replace('undefined', '');
            item.showValue = item.value;
            that.formGroup.patchValue({ [item.formKey]: item.value });
          }
        } else if (item.formType === 'modalOfTextArea') {
          item.showValue = hiddenForm.controls[item.subHtmlObj[0].formKey].value;
        } else if (item.formType === 'editMultipleSelect') {

          if (item.subHtmlObj[0].formType === 'multipleSelect' && hiddenForm.controls[item.subHtmlObj[0].formKey].value) {
            let showValue: any = '';
            item.subHtmlObj[0].children.forEach(big => {
              if (big.checked) {
                showValue += `<font color="#45474D">` + big.label + `<font>` + '、';
              } else {
                let s = '';
                big.children.forEach(small => {
                  small.checked ? s += small.label + '、' : '';
                });
                if (s.length > 0) {
                  showValue += `<font color="#45474D">` + big.label + `<font>` + `<font color="#7E838C">` + '-' + s + `<font>`;
                }
              }

            });
            showValue = showValue.substring(0, showValue.lastIndexOf('、'));

            item.showValue = showValue;
          } else if (item.subHtmlObj[0].formType === 'multipleSelect3' && hiddenForm.controls[item.subHtmlObj[0].formKey].value) {
            let showValue: any = '';
            item.subHtmlObj[0].children.forEach(big => {
              if (big.checked) {
                showValue += `<font color="#45474D">` + big.label + `<font>` + '、';
              } else {
                const str = '';
                let str2 = '';
                let str1 = '';
                // 2
                big.children.forEach(m => {
                  m.checked ? str2 += m.label + '、' : '';
                  if (!m.checked && m.children && m.children.length > 0) {
                    // 3
                    let str3 = '';
                    m.children.forEach(s => {
                      s.checked ? str3 += s.label + '、' : '';
                    });

                    if (str3.length > 0) {
                      str2 = m.label + '-' + str3;
                    }
                  }
                  if (str2.length > 0) {
                    str1 += `<font color="#7E838C">` + str2 + `<font>`;
                    str2 = '';
                  }

                });
                if (str1.length > 0) {
                  showValue += `<font color="#45474D">` + big.label + `<font>` + '-' + str1;
                  // `<font color="#7E838C">` +'-' + str + `<font>` ;
                }
              }

            });
            showValue = showValue.substring(0, showValue.lastIndexOf('、'));

            item.showValue = showValue;
            console.log('multipleSelect3:' + showValue);
          } else {
            if (item.subHtmlObj[item.showIndex].showValue) {
              item.showValue = item.subHtmlObj[item.showIndex].showValue;
            } else {
              item.showValue = hiddenForm.controls[item.subHtmlObj[item.showIndex].formKey].value;
            }
          }


        } else if (item.formType === 'modalOfMoreItems' ||
          item.formType === 'modalOfMoreItemsDesign' ||
          item.formType === 'bottomModalOfMoreItemsFW' ||
          item.formType === 'modalOfMoreItemsFW') {
          // ?  1.9.18 add eventName  用于更新 时间和 价格合计
          // ?  eventName="sendUnit" 表示 选择服务规格 发送unit到 上门时间 eventName="receiverUnit"接收
          if (item.eventName === "sendUnit") {
            // console.log('msg---->',this.tagData );
            that.tagData.data.htmlObj.forEach(e => {
              if (e.formType === "bottomModalOfMoreItemsFW") {
                if (e.subHtmlObj[0].eventName === "receiverUnit") {

                  item.subHtmlObj[0].itemList.forEach(element => {
                    if (element.check === true) {
                      e.subHtmlObj[0].unit = element.timeUnit;
                    }
                  });

                }
              }
            });
          }

          if (item.eventType === 'updateTotalAmount') {
            // 1.9.17.3  1.全屋大扫除 2.日常清洁 选择服务规格 更新价格 3.家电清洗 - 空调清洗
            if (item.subHtmlObj && item.subHtmlObj[0] && item.subHtmlObj[0].formType === 'switchButtonFW_3') {
              if (item.subHtmlObj[1] && item.subHtmlObj[1].formType === 'addItemCount') {
                item.subHtmlObj[0].itemList.forEach(element => {
                  if (data.data.form && data.data.form.value[item.subHtmlObj[0].formKey] !== undefined) {
                    if (element.value === data.data.form.value[item.subHtmlObj[0].formKey]) {
                      const totalAmount = element.valueN * item.subHtmlObj[1].value;
                      that.updateNormalBtns(totalAmount);
                    }
                  }
                });
              } else {
                item.subHtmlObj[0].itemList.forEach(element => {
                  if (data.data.form && data.data.form.value[item.subHtmlObj[0].formKey] !== undefined) {
                    if (element.value === data.data.form.value[item.subHtmlObj[0].formKey]) {
                      that.updateNormalBtns(element.valueN);
                    }
                  }
                });
              }

              // 1.9.17.3 家居清洁 -> 布艺沙发清洁
            } else if (item.subHtmlObj && item.subHtmlObj[0] && item.subHtmlObj[0].formType === 'addItemCountList') {
              let totalAmount = 0;
              const tempFormData = data.data.form.value[item.subHtmlObj[0].formKey];
              item.subHtmlObj[0].itemList.forEach(element => {
                if (data.data.form && tempFormData !== undefined) {
                  if (element.firstValue !== undefined) {
                    totalAmount += element.firstValue * element.value;
                  }
                }
              });
              that.updateNormalBtns(totalAmount);
            } else if (item.subHtmlObj && item.subHtmlObj[0] && item.subHtmlObj[0].formType === 'textInputLJ') {
              let totalAmount = 0;
              item.subHtmlObj.forEach(element => {
                if (element.valueN !== undefined && element.formType === 'textInputLJ' && element.value !== undefined && element.value !== "") {
                  totalAmount += element.valueN * element.value;
                }
              });
              that.updateNormalBtns(totalAmount);
            }
          }
          if (item.subHtmlObj && (item.subHtmlObj[0].formType === 'multipleSelect3' || item.subHtmlObj[0].formType === 'multipleSelect') && hiddenForm.controls[item.subHtmlObj[0].formKey].value) {
            let showValue: any = '';
            item.subHtmlObj[0].children.forEach(big => {
              if (big.checked) {
                showValue += `<font color="#45474D">` + big.label + `<font>` + '、';
              } else {
                const str = '';
                let str2 = '';
                let str1 = '';
                // 2
                big.children.forEach(m => {
                  m.checked ? str2 += m.label + '、' : '';
                  if (!m.checked && m.children && m.children.length > 0) {
                    // 3
                    let str3 = '';
                    m.children.forEach(s => {
                      s.checked ? str3 += s.label + '、' : '';
                    });

                    if (str3.length > 0) {
                      str2 = m.label + '-' + str3;
                    }
                  }
                  if (str2.length > 0) {
                    str1 += `<font color="#7E838C">` + str2 + `<font>`;
                    str2 = '';
                  }

                });
                if (str1.length > 0) {
                  showValue += `<font color="#45474D">` + big.label + `<font>` + '-' + str1;
                  // `<font color="#7E838C">` +'-' + str + `<font>` ;
                }
              }

            });
            showValue = showValue.substring(0, showValue.lastIndexOf('、'));

            item.showValue = showValue;
            console.log('multipleSelect3:' + showValue);

          } else if (item.subHtmlObj && item.showIndexs && item.showIndexs.indexOf(',') > -1) {
            // 支持展示多个子项值 ，隔开
            const indexs = item.showIndexs.split(",");
            const values: any = [];
            indexs.forEach(element => {
              if (item.subHtmlObj[element].showValue) {
                values.push(item.subHtmlObj[element].showValue);
              } else {
                values.push(hiddenForm.controls[item.subHtmlObj[element].formKey].value);
              }
            });
            item.showValue = values.join(',');

          } else if (item.subHtmlObj && item.showIndex < item.subHtmlObj.length) {

            // 优先展示showValue
            if (item.subHtmlObj[item.showIndex].showValue) {
              if (item.subHtmlObj[item.showIndex].itemList !== undefined &&
                item.subHtmlObj[item.showIndex].itemList[0].label &&
                item.subHtmlObj[item.showIndex].itemList[0].unit &&
                item.subHtmlObj[item.showIndex].itemList[0].valueN &&
                item.subHtmlObj[item.showIndex].showValue === item.subHtmlObj[item.showIndex].itemList[0].label) {
                if (item.subHtmlObj[1] && item.subHtmlObj[1].formType === "addItemCount") {
                  // 家电清洗 - 空调清洗
                  item.showValue =
                    item.subHtmlObj[item.showIndex].itemList[0].label + '<br>'
                    + "(" + item.subHtmlObj[1].value + item.subHtmlObj[1].unit + ") "
                    + item.subHtmlObj[item.showIndex].itemList[0].unit + item.subHtmlObj[item.showIndex].itemList[0].valueN;
                } else {
                  // 日常保洁
                  item.showValue = item.subHtmlObj[item.showIndex].itemList[0].label +
                    ' ' + item.subHtmlObj[item.showIndex].itemList[0].unit + item.subHtmlObj[item.showIndex].itemList[0].valueN;
                }
              } else {

                if (item.subHtmlObj[item.showIndex].itemList !== undefined &&
                  item.subHtmlObj[item.showIndex].itemList[0].unit &&
                  item.subHtmlObj[item.showIndex].itemList[0].valueN &&
                  item.subHtmlObj[item.showIndex].formType !== "addItemCountList") {
                  item.subHtmlObj[0].itemList.forEach(element => {
                    if (element.check === true) {
                      if (item.subHtmlObj[1] && item.subHtmlObj[1].formType === "addItemCount") {
                        // 家电清洗 - 空调清洗
                        item.showValue =
                          element.label + '<br>'
                          + "（" + item.subHtmlObj[1].value + item.subHtmlObj[1].unit + "）"
                          + element.unit + element.valueN;
                      } else {
                        // 日常保洁
                        if (element.unit === '￥') {
                          item.showValue = element.label + ' ' + element.unit + element.valueN;
                        } else {
                          item.showValue = element.label + ' ' + element.valueN + element.unit ;
                        }
                      }
                    }
                  });

                } else {
                  item.showValue = item.subHtmlObj[item.showIndex].showValue;
                }

              }
            } else {
              if (item.subHtmlObj && item.subHtmlObj[0].formType === 'textInputLJ') {
                item.showValue = "";
                item.subHtmlObj.forEach(element => {
                  if (element.value !== undefined && element.value !== '' && element.valueN !== undefined) {
                    item.showValue += (element.value - 0) + '' + element.extra + ' ￥' + (element.value - 0) * element.valueN + `<br>`;
                  } else if (element.value !== undefined && element.value !== ''
                    && element.extra !== undefined && element.label !== undefined) {
                    // 不展示价格
                    item.showValue += element.label + "（" + (element.value - 0) + '' + element.extra + "）" + `<br>`;
                  }
                });
              } else {
                item.showValue = hiddenForm.controls[item.subHtmlObj[item.showIndex].formKey].value;
              }
            }
          } else if (item.subHtmlObj && item.subHtmlObj.length > 0) {
            // 优先展示showValue
            if (item.subHtmlObj[0].showValue) {
              item.showValue = item.subHtmlObj[0].showValue;
            } else {
              item.showValue = hiddenForm.controls[item.subHtmlObj[0].formKey].value;
            }
          }
        } else if (item.formType == 'sendAddress' || item.formType == 'recAddress') {
          if (item.subHtmlObj && item.subHtmlObj.length > 2) {
            let res = {
              address: item.subHtmlObj[2].value ? item.subHtmlObj[2].value : "", // 全地址
              name:item.subHtmlObj[1].value ? item.subHtmlObj[1].value : "", // 名字
              phone:item.subHtmlObj[1].subHtmlObj[0].value ? item.subHtmlObj[1].subHtmlObj[0].value  : "", // 电话
            }
            item.value = res.address;
            item.valueN = res.name;
            item.showValue = res.phone;
            item.showValue1 = res.name + ' ' + res.phone;
            that.updateCurrentAddress(item);

          }

        } else if(item.formType === 'modalOfRichText') {
          if (item.subHtmlObj && item.subHtmlObj.length > 0) {
            item.showValue = hiddenForm.controls[item.subHtmlObj[0].formKey].value;
          }
      }

        that.updateExpressDeliveryPrice();// 写在这里是为了修改重量信息也刷新一次
      }
    });
    return await modal.present();
  }


  updateCurrentAddress(item){
    if (item.value && item.value.length > 2) {
      const [result] = AddressParse.parse(item.value,true);
      const city  = result.city;
      console.log(city);
      if (item.formKeys && item.formKeys.indexOf(";") > -1) {
        const keyArray = item.formKeys.split(";");
        if (this.formGroup.contains(keyArray[2])) {
          this.formGroup.patchValue({ [keyArray[2]]: city });
        } else {
          this.formGroup.addControl(keyArray[2], new FormControl(city));
        }
        if (this.formGroup.contains(keyArray[1])) {
          this.formGroup.patchValue({ [keyArray[1]]: item.showValue });
        } else {
          this.formGroup.addControl(keyArray[1], new FormControl(item.showValue));
        }
        if (this.formGroup.contains(keyArray[0])) {
          this.formGroup.patchValue({ [keyArray[0]]: item.valueN });
        } else {
          this.formGroup.addControl(keyArray[0], new FormControl(item.valueN));
        }
        this.formGroup.patchValue({ [item.formKey]: item.value });
        console.log("formGroup value:" + JSON.stringify(this.formGroup.value) )
      }
    }
    
  }
  editInfo(item, i) {
    item['index'] = i;
    if (i !== -1 ) {
      item.subHtmlObj[0].value = item.itemList[i].label;
      item.subHtmlObj[1].value = item.itemList[i].value;
    } else {
      item.subHtmlObj[0].value = '';
      item.subHtmlObj[1].value = '';
    }

    this.openModalMoreEditInfo(item);
  }
  delInfo(item, i) {
    item.itemList.splice(i, 1);
    this.checkAddSPValue(item);
  }

  checkAddSPValue(item) {
    // 传参格式 名称1inner价格1split名称2inner价格2split名称3inner价格3
    if ( item.itemList && item.itemList.length === 0) {
      item.value = '';
    } else if ( item.itemList && item.itemList.length > 0) {
      const items = [];
      item.itemList.forEach(element => {
          items.push(element.label + 'inner' + element.value);
          // 临时给最后一个item的值避免编辑无修改时报错
          this.formGroup.patchValue({ [item.subHtmlObj[0].formKey]: element.label });
          this.formGroup.patchValue({ [item.subHtmlObj[1].formKey]: element.value });      
      });
      item.value = items.join('split');
    }
    console.log('add sp value:' + item.value);
    this.formGroup.patchValue({ [item.formKey]: item.value });
  }

  pickerSelectTwo(result, item, type?) {
    if (result && result.length && Array.isArray(result)) {
      if (type === 1) {
        item.showValue1 = result[0].label + result[1].label;
        item.value1 = result[0].label + result[1].label;
        JSON.parse(item.data2).forEach(element => {
          element.children.forEach(e => {
            if (e.value === result[1].value) {
              item.data2 = e.children;
              item.disabled2 = false;
              item.showValue = "具体位置";
            }
          });
        });
      } else {
        item.showValue = result[0].label;
        item.value = result[0].value;
        this.formGroup.patchValue({ [item.formKey]: item.value });
      }
    }
  }

  // <!-- 行业 区域 单选 双联picker-->
  pickerSelect(result, item, isArea?) {
    if (result && result.length && Array.isArray(result)) {
      if (result.length === 1) {
        item.value = result[0].value;
        item.showValue = `${result[0].label}`;
      } else if (result.length === 2) {
        item.value = result[1].value;
        item.showValue = `${result[0].label} ${result[1].label}`;
        if (item.minSize && item.minSize === 1) {
          item.showValue = `${result[1].label}`;
        }
        if (item.formType === "pickerSelectDate") {
          item.value = `${result[0].value} ${result[1].value}`;
          item.showValue = `${result[0].label} ${result[1].label}`;
        }

      } else {
        item.value = result[2].value;
        item.showValue = `${result[0].label} ${result[1].label} ${result[2].label}`;
        if (item.minSize && item.minSize === 1) {
          item.showValue = `${result[2].label}`;
        }
      }
      this.formGroup.patchValue({ [item.formKey]: item.value });

      if (item.subHtmlObj && item.subHtmlObj.length > 0 &&
        (item.subHtmlObj[0].formType === 'multipleColumnSelect' ||
          item.subHtmlObj[0].formType === 'multipleColumnSelectJoin' ||
          item.subHtmlObj[0].formType === 'multipleColumnSelectTwoLine') &&
        item.subHtmlObj[0].submit) {
        item.subHtmlObj[0].submit.content = {
          [item.formKey]: item.value
        };
        item.subHtmlObj[0].data = [];
        // 清空一下
        this.formGroup.patchValue({ [item.subHtmlObj[0].formKey]: '' });
        item.subHtmlObj[0].value = '';
        item.subHtmlObj[0].showValue = '';
        this.getIndustryData(item.subHtmlObj[0]);

      }
      if (item.subHtmlObj && item.subHtmlObj.length > 0 &&
        item.subHtmlObj[0].formType === 'chooseHourItem'  &&
        item.subHtmlObj[1].formType === 'chooseHourItem' ) {
        item.value = `${result[0].value} - ${result[1].value}`;
        item.showValue = `${result[0].label} - ${result[1].label}`;
        item.subHtmlObj[0].value = result[0].value;
        item.subHtmlObj[0].showValue = result[0].label;
        item.subHtmlObj[1].value = result[1].value;
        item.subHtmlObj[1].showValue = result[1].label;
        this.formGroup.patchValue({ [item.subHtmlObj[0].formKey]: result[0].value });
        this.formGroup.patchValue({ [item.subHtmlObj[1].formKey]: result[1].value });

      }
      if (item['isArea']) {
        this.addressValue.area = item.showValue;
        this.addressValue.areaCode = item.value;
        this.bigDistrict = item.showValue;
        this.getPointByCityName(this.positionInfo.name, item.showValue);
      }
      this.formGroup.patchValue({ [item.formKey]: item.value });
      // picker 选完直接提交
      if (item.formType === 'pickerSelectBtn') {
        item.showValue = 'generalSubmit';
        this.innerBtnClick(item);
      }
      if (item.eventName === 'sendPrice') {
        try {
          // 更新value
          this.tagData.data.htmlObj.forEach(e => {

            if ((e.formType === 'profit' || e.formType === 'textInput') && e.eventName === "receiverPrice") {
              // 接收来之 pickerSelect 的选择规格-价格
              e.value = result[0].valueN;
              this.formGroup.patchValue({ [e.formKey]: e.value });
            }

          });
        } catch (error) {
          if (error.message !== 'break') {
            throw error;
          }
        }
        try {
          // 计算 利润
          this.tagData.data.htmlObj.forEach(e => {

            if (e.formType === 'textInput' && e.eventName === "sendPrice") {
              this.checkSendEventItem(e);
              throw new Error('break');
            }
          });
        } catch (error) {
          if (error.message !== 'break') {
            throw error;
          }
        }
      }

    }
    this.checkSubHtmlObj(item);
  }

  async getIndustryData(item, isInit?) {
    const params = {
      content: item.submit.content ? item.submit.content : {},
      id: item.submit.id,
      sessionId: localStorage.getItem('sessionId')
    };
    // 请求获取新数据
    await this.http.post('application/submit', params, res => {
      // 请求数据成功 重置区域数据
      if (res.data && res.data.data) {
        if (item.formType === 'modalMultipleSelect3_Full' ||
          item.formType === 'modalMultipleSelect3_Auto_Full' ||
          item.formType === 'modalMultipleSelect3_Full_Common') {
          item.children = res.data.data;
        } else {
          item.data = res.data.data;
        }
        // 自动请求下级
        if (item.value &&
          (item.formType === 'pickerSelect' || item.formType === 'pickerSelectTwoLine' || item.formType === 'pickerSelectJoin')) {
          if (item.subHtmlObj &&
            item.subHtmlObj.length > 0 &&
            (item.subHtmlObj[0].formType === 'multipleColumnSelect' ||
              item.subHtmlObj[0].formType === 'multipleColumnSelectJoin' ||
              item.subHtmlObj[0].formType === 'multipleColumnSelectTwoLine')
            && item.subHtmlObj[0].submit) {
            item.subHtmlObj[0].submit.content = { [item.formKey]: item.value };
            item.subHtmlObj[0].data = [];
            if (isInit) {

            } else {
              // 清空一下
              this.formGroup.patchValue({ [item.subHtmlObj[0].formKey]: '' });
              item.subHtmlObj[0].value = '';
              item.subHtmlObj[0].showValue = '';

            }
            this.getIndustryData(item.subHtmlObj[0]);
          }
        }

      } else {
        // 请求数据失败
        if (res.message) {
          this.appGlobalService.showToast(res.message, 2000, 'middle');
        }

      }
    });
  }

  async getAreaData(item, resetArea?) {
    if (!item.subHtmlObj) {
      return;
    }
    let content: any = {};
    if (item.submit.content !== undefined) {
      content = item.submit.content;
    }
    content[item.formKey] =  item.value;
    const params = {
      content,
      id: item.submit.id,
      sessionId: localStorage.getItem('sessionId')
    };
    // 请求获取新数据
    await this.http.post('application/submit', params, res => {
      // 请求数据成功 重置区域数据
      if (res.data && res.data.data) {
        item.subHtmlObj[0].data = res.data.data;
        // 切换城市重置
        if (resetArea) {
          item.subHtmlObj[0].showValue = item.subHtmlObj[0].placeHolder;
          delete item.subHtmlObj[0].value;
          // 切换城市重置具体地址
          for (let i = 0; i < this.tagData.length; i++) {
            const formItem = this.tagData[i];
            if (formItem.formType === 'detailAddress') {
              delete formItem.value;
              break;
            }
          }
        } else if (this.addressValue && this.addressValue.area) {
          //  上次的值
          item.subHtmlObj[0].value = this.addressValue.areaCode ? this.addressValue.areaCode : '';
          item.subHtmlObj[0].showValue = this.addressValue.area ? this.addressValue.area : item.placeHolder;
          this.formGroup.patchValue({ [item.subHtmlObj[0].formKey]: item.subHtmlObj[0].value });
        }

      } else {
        // 请求数据失败
        this.appGlobalService.showToast(res.message, 2000, 'middle');
      }
    });
  }

  async getCityData(item) {

    const params = {
      content: {},
      id: item.submit.id,
      sessionId: localStorage.getItem('sessionId')
    };

    await this.http.post('application/submit', params, res => {

      if (res.data && res.data.data) {
        if (item.formType === 'threeLevelSelection') {
          item.children = res.data.data;
          this.initThreeLevelData(item);
        } else {
          item.groupCities = res.data.data.data;
          item.selectedCityIds = [];
          item.selectedCityName = [];
          item.groupCities.forEach(element => {
            element.c.forEach(e => {
              if (e.isSelected && item.selectedCityIds.indexOf(e.i) === -1) {
                item.selectedCityIds.push(e.i);
                item.selectedCityName.push(e.n);
              }
            });
          });
          console.log(JSON.stringify(item.selectedCityIds));
          item.value = item.selectedCityIds.join(',');
          if (item.sep !== undefined) {
            item.value = item.selectedCityIds.join(item.sep);
          }
          item.showValue = item.selectedCityName.join(',');
          this.formGroup.patchValue({ [item.formKey]: item.value });
        }


      } else {
        // 请求数据失败
        this.appGlobalService.showToast(res.message, 2000, 'middle');
      }
    });
  }

  initThreeLevelData(item) {
    if (item.children && item.children[0]) {
      item.children[0].open = true;
      item.current = item.children[0]; // 2
      if (item.formType === 'threeLevelSelection' && item.current.children && item.current.children[0]) {
        item.current.current = item.current.children[0]; // 3
        item.current.children[0].open = true;
      }
    }

    if (typeof item.value === 'string') {
      // formItem.showValue = formItem.value;
      // 初始化赋值
      if (item.value.length > 0 && item.value !== "null") {
        item.value = item.value.split(',');
      } else {
        item.value = [];
      }

    }
    let openBig: any;
    item.children.forEach(big => {
      if (item.value.indexOf(big.value) > -1) {
        big.checked = true;
        big.hasValue = true;
        if (openBig === undefined) {
          openBig = big;
        }
        // 2
        big.children.forEach(m => {
          m.checked = true;
          m.hasValue = true;
          if (openBig === undefined) {
            openBig = big;
          }
          if (m.children && m.children.length > 0) {
            // 3
            m.children.forEach(s => {
              s.checked = true;
              if (openBig === undefined) {
                openBig = big;
              }
            });
          }

        });


      } else {
        big.children.forEach(m => {
          // 2
          if (item.value.indexOf(m.value) > -1) {
            m.checked = true;
            m.hasValue = true;
            big.hasValue = true;
            if (openBig === undefined) {
              openBig = big;
            }
          }
          if (m.children && m.children.length > 0) {
            // 3
            m.children.forEach(s => {
              if (m.checked) {
                s.checked = true;
                if (openBig === undefined) {
                  openBig = big;
                }
              } else {
                if (item.value.indexOf(s.value) > -1) {
                  s.checked = true;
                  m.hasValue = true;
                  big.hasValue = true;
                  if (openBig === undefined) {
                    openBig = big;
                  }
                }
              }


            });
          }
        });
      }

    });

    if (openBig) {
      item.children[0].open = false;
      openBig.open = true;
      item.current = openBig;
    }
  }
  // 打开部门
  async openModalDepartmentPage(item) {
    const modal = await this.modalCtrl.create({
      component: ChooseDepartmentComponent,
      componentProps: { tagData: item.link, modalTitle: "选择部门", backValue: true }
    });
    modal.onDidDismiss().then((data) => {

      if (data.data) {

        this.formGroup.patchValue({ [item.formKey]: data.data.code });
        item.showValue = data.data.name;
      }
    });
    return await modal.present();
  }
  // 打开城市选择
  async openModalCityPage(item) {
    if (item.disabled) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }

      return;
    }
    const that = this;
    const modal = await this.modalCtrl.create({
      component: ChooseCityComponent,
      componentProps: { value: item.link.target, modalTitle: item.usePlaceHolderAsTitle? item.placeHolder :  item.label, noStorage: true }
    });
    modal.onDidDismiss().then(function(data) {
      const value = data.data;
      if (value !== undefined && value.n !== undefined) {
        that.pageCity = value.n;
        that.pageCityCode = value.i;
        that.addressValue.city = value.n;
        item.showValue = value.n;
        item.value = value.i;
        that.formGroup.patchValue({ [item.formKey]: value.i });
        if (item.subHtmlObj && item.subHtmlObj.length === 1) {
          that.getAreaData(item, true);
          item.subHtmlObj[0].showValue = "";
          that.getPointByCityName(item);
        }

      }
    });
    return await modal.present();
  }
  // 获取经纬度
  getPointByCityName(obj, districtName?) {
    const that = this;
    const myGeo = new BMap.Geocoder();
    let name = '';
    if (typeof (obj) === 'object') {
      name = obj.showValue;
    } else {
      name = obj;
    }
    myGeo.getPoint((districtName !== undefined ? name + districtName : name), function(point) {
      if (point) {
        if (that.positionInfo !== null) {
          that.positionInfo.center.lng = point.lng;
          that.positionInfo.center.lat = point.lat;
        } else {
          that.positionInfo = { center: { lng: point.lng, lat: point.lat }, name, code: obj.value, address: name };
        }
      }
    }, name);
  }
  async openModalMapPage(item) {
    if (document.getElementById('showSelectAddressModelId').getAttribute('showAddressModal')) {
      return;
    } else {
      document.getElementById('showSelectAddressModelId').setAttribute('showAddressModal', 'true');
    }
    if (item.disabled) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }
      if (item.showValue && item.showValue === 'choose') {

      } else {
        return;
      }

    }
    const that = this;
    // 拿到城市之后再拿城市的大区域

    if (that.addressValue && that.addressValue.area) {
      try {
        // .split(' ')[0]
        this.bigDistrict = '市' + that.addressValue.area;
      } catch (e) {
        this.bigDistrict = '';
        console.log('msg----->error=' + JSON.stringify(e));
      }
    }

    if (that.pageCity !== undefined && that.pageCityCode !== undefined) {
      item.cityName = that.pageCity + that.bigDistrict;
      item.cityCode = that.pageCityCode;
    } else {
      // 如果没有拿到pageCity则使用 存储的cityName
      item.cityName = that.positionInfo.name + that.bigDistrict;
      item.cityCode = that.positionInfo.code;
    }
    // 重新选择城市之后拿 选择之后的城市经纬度
    that.mapBaiduSerivce.getPointByName(item.cityName, async (point) => {
      const points = { lng: point.lng, lat: point.lat };
      item.longitude = points.lng;
      item.latitude = points.lat;
      item.locationValue = item.latitude.toString() + "," + item.longitude.toString();
      const modal = await this.modalCtrl.create({
        showBackdrop: true,
        component: ShowMapPage,
        componentProps: { value: item }
      });
      await modal.present();
      const { data } = await modal.onDidDismiss();
      if (data !== undefined) {
        console.log(data);
        if (item.formType === "showMapCommunity") {
          item.showValue = data.value;
        } else {
          item.showValue = data.address;
        }

        item.value = data.value;
        item.cityName = data.cityName;
        item.cityCode = data.cityCode;
        item.uid = data.uid;
        this.addressValue.detailAddress = data.value;
        this.addressValue.location = data.location;
        if (item.subHtmlObj && item.subHtmlObj[0]) {
          item.subHtmlObj[0].value = data.location;
          this.formGroup.patchValue({ [item.formKey]: data.value, [item.subHtmlObj[0].formKey]: data.location });
        } else {
          if (item.formType === "showMapAddress") {
            let keys = item.link.params.formKey.split(",");
            this.formGroup.patchValue({ [keys[0]]: data.value });
            this.formGroup.patchValue({ [keys[1]]: data.location });

            if(keys.length > 3 ){
              if (this.formGroup.contains(keys[2])) {
                this.formGroup.patchValue({ [keys[2]]: data.cityCode }); // 城市ID
                this.formGroup.patchValue({ [keys[3]]: data.districtCode }); // 区域ID
              } else {
                this.formGroup.addControl(keys[2], new FormControl(data.cityCode));
                this.formGroup.addControl(keys[3], new FormControl(data.districtCode));
              }

            }

            this.formGroup.patchValue({ [item.formKey]: data.address });
          }else if(item.formType === "showMapCommunity"){
            let keys = item.link.params.formKey.split(",");
            // keys[0]需要与item.formKey相同
            this.formGroup.patchValue({ [item.formKey]: data.uid });
            if (this.formGroup.contains(keys[1])) {
              this.formGroup.patchValue({ [keys[0]]: data.uid });
              this.formGroup.patchValue({ [keys[1]]: data.location }); // 经纬度
              this.formGroup.patchValue({ [keys[2]]: data.value }); // 小区名字
              this.formGroup.patchValue({ [keys[3]]: data.cityCode }); // 城市ID
              this.formGroup.patchValue({ [keys[4]]: data.districtCode }); // 区域ID
              this.formGroup.patchValue({ [keys[5]]: data.address }); // 详细地址
            } else {
              // this.formGroup.addControl(keys[0], new FormControl(data.uid));
              this.formGroup.addControl(keys[1], new FormControl(data.location));
              this.formGroup.addControl(keys[2], new FormControl(data.value));
              this.formGroup.addControl(keys[3], new FormControl(data.cityCode));
              this.formGroup.addControl(keys[4], new FormControl(data.districtCode));
              this.formGroup.addControl(keys[5], new FormControl(data.address));
            }

          } else {
            this.formGroup.patchValue({ [item.formKey]: data.value });
          }
        }
      }
    });
  }
  // 选择发布类型
  chooseReleaseType(item: any, li: any) {
    if (li.check) {
      return;
    }
    item.itemList.forEach(element => {
      element.check = false;
    });
    li.check = !li.check;
    if (li.check) {
      this.appGlobalService.getFormGroupWithParamName(this.tagData.paramName).patchValue({ [item.formKey]: li.value });
    }
  }

  getDate(max, item) {

    if (item.max && item.max === max) {

      return item.maxDate = item.maxDate ? item.maxDate : this.getDateTime(max);
    } else if (item.min && item.min === max) {

      return item.minDate = item.mimDate ? item.minDate : this.getDateTime(max);
    }
  }

  getDateTime(date) {
    // ||
    if (!date) {

      return;
    } else if ((typeof date !== "string")) {
      return date;
    }
    if (date.indexOf(' ') > -1) {
      // console.log(new Date(Date.parse(date.replace(/-/g, "/"))));
      return new Date(Date.parse(date.replace(/-/g, "/")));
    } else {
      // console.log(new Date(Date.parse((date + ' ' + '23:59:59').replace(/-/g, "/"))));
      return new Date(Date.parse((date + ' ' + '23:59:59').replace(/-/g, "/")));
    }
  }

  currentValue(item) {
    if (!item.value || item.value === '') {
      item.valueN = item.placeHolder ? item.placeHolder : item.label;
    } else {
      item.valueN = item.showValue ? item.value + ' ' + ' ' + item.showValue : item.value;
    }
  }
  // 时间段选择
  currentDateFormat(date, format: string = 'HH:MM'): any {
    const pad = (n: number): string => (n < 10 ? `0${n}` : n.toString());
    return format
      .replace('yyyy', date.getFullYear())
      .replace('mm', pad(date.getMonth() + 1))
      .replace('dd', pad(date.getDate()))
      .replace('HH', pad(date.getHours()))
      .replace('MM', pad(date.getMinutes()))
      .replace('ss', pad(date.getSeconds()));
  }

  timeSlot(result: Date, item, index) {
    // item.subHtmlObj[index].showValue = result;
    // const last = item.subHtmlObj[index].value;
    item.subHtmlObj[index].value = this.currentDateFormat(result, item.mode);
    this.formGroup.patchValue({ [item.subHtmlObj[index].formKey]: item.subHtmlObj[index].value });
    // if (item.subHtmlObj[0].showValue  &&  item.subHtmlObj[1].showValue
    //   && item.subHtmlObj[0].showValue !== ''  &&  item.subHtmlObj[1].showValue !== '' ) {
    //     if (item.subHtmlObj[0].showValue.valueOf() > item.subHtmlObj[1].showValue.valueOf()) {
    //       this.appGlobalService.showToast('开始时间不能大于结束时间' , 1000, 'middle');
    //       item.subHtmlObj[index].value = last;
    //       return;
    //     }
    //   } else {
    // this.formGroup.patchValue({[item.subHtmlObj[index].formKey] : item.subHtmlObj[index].value});
    // }
  }

  datetime(result: Date, item, surperItem?) {
    if(!result){
      return;
    }
    if (item.mode) {

      if (item.mode === 'year' || item.mode === 'YYYY') {
        item.value = this.currentDateFormat(result, 'yyyy');
      } else if (item.mode === 'month' || item.mode === 'YYYY MM') {
        item.value = this.currentDateFormat(result, 'yyyy-mm');
      } else if (item.mode === 'date' || item.mode === 'YYYY MM DD') {
        item.value = this.currentDateFormat(result, 'yyyy-mm-dd');
      } else if (item.mode === 'time' || item.mode === ' HH:mm') {
        item.value = this.currentDateFormat(result, 'HH:MM');
      } else if (item.mode === 'datetime' || item.mode === 'YYYY MM DD HH:mm:ss') {
        item.value = this.currentDateFormat(result, 'yyyy-mm-dd HH:MM:ss');
      } else {
        item.value = this.currentDateFormat(result, 'yyyy-mm-dd HH:MM:ss');
      }
    } else {
      item.value = this.currentDateFormat(result, 'yyyy-mm-dd HH:MM:ss');
    }
    item.showValue = item.showValue !== undefined ? this.appGlobalService.handleDate(result) : undefined;
    item.defValue = result;
    this.formGroup.patchValue({ [item.formKey]: item.value });
    if (surperItem !== undefined && surperItem.subHtmlObj && surperItem.subHtmlObj.length >= 3) {
      if (surperItem.subHtmlObj[2].formType === 'textInput' && surperItem.subHtmlObj[1].value && surperItem.subHtmlObj[0].value) {
        const iDays = Math.floor((surperItem.subHtmlObj[1].defValue.getTime() -
          surperItem.subHtmlObj[0].defValue.getTime()) / 1000 / 60 / 60 / 24);
        if (iDays < 0) {
          surperItem.subHtmlObj[2].value = 0;
          if (surperItem.lessTip && surperItem.lessTip.length > 0) {
            this.appGlobalService.showToast(surperItem.lessTip, 1500, 'middle');

          } else {
            this.appGlobalService.showToast('结束日期不能早于开通日期', 1500, 'middle');
          }
        } else {
          surperItem.subHtmlObj[2].value = iDays + 1;
        }

        this.formGroup.patchValue({ [surperItem.subHtmlObj[2].formKey]: surperItem.subHtmlObj[2].value });

      } else if (surperItem !== undefined && surperItem.subHtmlObj.length >= 5
        && surperItem.subHtmlObj[2].value && surperItem.subHtmlObj[0].value) {
        if (surperItem.subHtmlObj[4].formType === 'textInput') {
          const iDays = Math.floor((surperItem.subHtmlObj[2].defValue.getTime() -
          surperItem.subHtmlObj[0].defValue.getTime()) / 1000 / 60 / 60 / 24);
          if (iDays < 0) {
            surperItem.subHtmlObj[2].value = 0;
            if (surperItem.lessTip && surperItem.lessTip.length > 0) {
              this.appGlobalService.showToast(surperItem.lessTip, 1500, 'middle');

            } else {
              this.appGlobalService.showToast('结束日期不能早于开通日期', 1500, 'middle');
            }
          } else {
            surperItem.subHtmlObj[4].value = iDays + 1;
          }
        } else if (surperItem.subHtmlObj[4].eventName === "getDateTime" &&
         surperItem.subHtmlObj[4].formType === "bottomModalOfMoreItemsFW") {
          const im = Math.floor((surperItem.subHtmlObj[2].defValue.getTime() -
          surperItem.subHtmlObj[0].defValue.getTime()) / 1000 / 60 );
          if (im < 0) {
            surperItem.subHtmlObj[2].value = 0;
            if (surperItem.lessTip && surperItem.lessTip.length > 0) {
              this.appGlobalService.showToast(surperItem.lessTip, 1500, 'middle');

            } else {
              this.appGlobalService.showToast('结束日期不能早于开通日期', 1500, 'middle');
            }
          }
        }


        this.formGroup.patchValue({ [surperItem.subHtmlObj[4].formKey]: surperItem.subHtmlObj[4].value });

      }
    }
    this.sendDateTime(result, item);
  }
  sendDateTime(date: Date, item: any) {
     if (item.formType === 'datePlug' && item.eventName === 'sendDateTime') {
      if (item.formKey !== undefined && item.value) {
        this.tagData.data.htmlObj.forEach(ele => {
          if (ele.formType === 'serviceDate') {
            ele.subHtmlObj.forEach(element => {
              if (element.eventName === 'getDateTime') {
                element.value = item.value;
                element.showValue = item.value;
                if (element.formKey) {
                  this.formGroup.patchValue({ [element.formKey]: element.value });
                }
                if (element.subHtmlObj && element.subHtmlObj.length > 0) {
                  element.subHtmlObj.forEach(it => {
                    if (it.formType === 'sectionDesc' && it.eventName === 'getDateTime') {
                      it.value = item.value;
                      it.showValue =  it.value;
                    }
                  });
                }

              }
            });
          }
        });
      }
     }
  }
  ionDateChange(event, item) {
    console.log(event.detail.value);
    this.datetime(new Date(event.detail.value), item);
  }

  formatIt(date: Date, form: string) {
    const pad = (n: number) => (n < 10 ? `0${n}` : n);
    const dateStr = `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`;
    const timeStr = `${pad(date.getHours())}:${pad(date.getMinutes())}`;
    if (form === 'YYYY-MM-DD') {
      return dateStr;
    }
    if (form === 'HH:mm') {
      return timeStr;
    }
    return `${dateStr} ${timeStr}`;
  }


  areaSlotchange(event, item, index) {
    if (event.detail.value.length > Number(item.subHtmlObj[index].maxLength)) {
      const tmpValue = event.detail.value.slice(0, Number(item.subHtmlObj[index].maxLength));
      item.subHtmlObj[index].value = tmpValue;
      this.formGroup.patchValue({ [item.subHtmlObj[index].formKey]: tmpValue });
    }

    // ????????
    // const last = item.subHtmlObj[index].value;
    // item.subHtmlObj[index].value = Number(event.detail.value);
    // if (item.subHtmlObj[0].value  &&  item.subHtmlObj[1].value
    //   && item.subHtmlObj[0].value !== ''  &&  item.subHtmlObj[1].value !== '' ) {
    //     if (item.subHtmlObj[0].value > item.subHtmlObj[1].value) {
    //       this.appGlobalService.showToast('最小面积不能大于最大面积' , 1000, 'middle');
    //       item.subHtmlObj[index].value = '';
    //       return;
    //     }
    //   } else {
    //     this.formGroup.patchValue({[item.subHtmlObj[index].formKey] : item.subHtmlObj[index].value});
    //   }

  }

  moreDetailInfo(item) {
    item.hidden = !item.hidden;
    if (!item.hidden && item.tips) {
      item.hiddenTips = '收起' + item.tips;
    }

    if ($("#moreDetailInfo" + this.hintId).is(":hidden")) {
      $("#moreDetailInfo" + this.hintId).slideDown();
    } else {
      $("#moreDetailInfo" + this.hintId).slideUp();
    }
  }


  showMessage(link) {
    if (link.type === 'modal') {
      const params = {
        pageId: link.target,
        params: link.params ? link.params : {},
        sessionId: localStorage.getItem('sessionId')
      };
      this.http.post('application/page', params, res => {
        this.pageModalService.getPageTagDataWithPageRes(
          res, data => {
            this.showRecommenMessage(data);
          }
        );
      });

    }

  }

  // 短息模板
  async showRecommenMessage(tagData) {
    const modal = await this.modalCtrl.create({
      showBackdrop: true,
      cssClass: 'recommend-modal',
      component: RecommendModalComponent,
      componentProps: { tagData },
      leaveAnimation: ModalFromCenterLeave,
      enterAnimation: ModalFromCenterEnter
    });
    await modal.present();
    // 监听销毁的事件
    const modalData = await modal.onDidDismiss(); // 获取关闭传回的值
  }

  async clickOnPickerSelect(item, event?,isArea?) {
    if (isArea){
      item['isArea'] = isArea;
    }
    if (item.disabled === true && item.tips && item.tips.length > 0) {
      this.appGlobalService.showToast(item.tips, 1500, "middle");
      if (event) {
      event.stopPropagation();
      }
      return
    }

    const modal = await this.modalCtrl.create({
      showBackdrop: true,
      cssClass: 'recommend-modal',
      component: FwPickerComponent,
      componentProps: { item },
      // leaveAnimation: ModalFromCenterLeave,
      // enterAnimation: ModalFromCenterEnter
    });
    await modal.present();
    // 监听销毁的事件
    const modalData = await modal.onDidDismiss(); // 获取关闭传回的值
    // console.log("pickerSelect:" + JSON.stringify(modalData))
    if(modalData && modalData.data &&  modalData.data.data) {
      this.pickerSelect(modalData.data.data['result'], modalData.data.data['item']) 
    }
  }

  nextPage(item) {
    if (this.formGroup.valid) {
      // 表示当前不是最后一步页面,不显示提交btn
      this.openModalMoreEditInfo(item, item.showValue === 'NoShowSubmit' ? false : true);
    } else {
      this.getErrors(this.formGroup);
    }

  }

  getServicePrice(item, tag) {

    this.formGroup.patchValue({ [tag.formKey]: tag.value });

    if (tag.checked) {
      this.getPrice(tag, item);
      // return;
    } else {
      tag.checked = !tag.checked;
      if (tag.label.indexOf('自定义') > -1) {
        item.disabled = false;
        item.value = tag.showValue;
        item.getPriceTag = tag;
        // 标准报价设置0
        if (this.formGroup.controls.quote_price) {
          this.formGroup.patchValue({ ['quote_price']: "0" });
          this.servicePriceShow = 0;
        }

      } else {
        item.getPriceTag = null;
        item.value = tag.showValue;
        item.disabled = true;
        this.getPrice(tag, item);
      }
    }
    item.tagTips = tag.tips;

    item.tags.forEach(element => {
      if (element !== tag) {
        element.checked = false;
      }
    });
    this.checkSubHtmlObj(item);

  }

  // 标准报价
  getPrice(tag, item) {
    if (tag.submit && tag.submit.id) {
      // 服务模式
      // private String service_mode;

      const params = {
        content: tag.submit.content,
        id: tag.submit.id,
        sessionId: localStorage.getItem('sessionId')
      };
      this.http.post('application/submit', params, res => {
        if (res.success && res.data && res.data.eventResult) {
          // 计算得标准报价
          if (this.formGroup.controls.quote_price) {
            this.formGroup.patchValue({ ['quote_price']: res.data.eventResult });
            this.checkServicePrice(item,'quote_price',res.data.eventResult);
            this.servicePriceShow = res.data.eventResult;
            if (this.formGroup.controls.deduction_amount && this.formGroup.controls.quote_discounts_price) {
              const price = this.servicePriceShow - this.formGroup.value.deduction_amount;
              this.formGroup.patchValue({ ['quote_discounts_price']: price < 0 ? 0 : price });
              this.checkServicePrice(item,'quote_discounts_price',res.data.eventResult);
            } else if (this.formGroup.controls.quote_discounts_price) {
              this.formGroup.patchValue({ ['quote_discounts_price']: res.data.eventResult });
              this.checkServicePrice(item,'quote_discounts_price',res.data.eventResult);
            }
          }
          // 1.6.7 版本新增submit成功之后 弹窗或者 请求page
          if (tag.link) {
            this.pageModalService.openPage(tag.link);
          }
        }

      });
    }
  }

  checkServicePrice(item , formKey,value) {
    item.subHtmlObj.forEach(e => {
      if (e.formKey === formKey && e.showCondition.indexOf(item.value) > -1) {
        e.value = value;
        }
      }
    );
  }
  // 内部提交
  innerBtnClick(item) {

    this.checkData(formData => {

      if (formData !== null) {
        // 同时有两个submit用来请求数据， butSubmit用于提交
        if (item.butSubmit !== undefined) {
          item.submit = item.butSubmit;
        }
        if (item.submit.formKey && item.submit.formKey.length > 0) {
          // formKey 通常是 isJsonArray
          item.submit.content[item.submit.formKey] = formData;

        } else {
          const contentsitem = JSON.stringify(item.submit.content);
          const content = Object.assign(
            JSON.parse(contentsitem),
            formData
          );
          item.submit.content = content;
        }
        if (item.valueN === 'generalSubmit') { } else
        if (item.showValue === 'generalSubmit') {
          if (item.submit.content && item.submit.content.needMsCode && item.submit.content.phoneKey && item.submit.content.msCodeKey) {
            // 发布短信验证码
            // <param name="needMsCode" value="true"/><!--1 验证码弹窗 不可以跳过，2 可以跳过 3 比较登录号码 不可以跳过，号码相同不弹窗-->
            // <param name="phoneKey" value="company_phone"/><!--phoneKey 指向电话号码的key-->
            // <param name="msCodeKey" value="msCode"/><!--msCodeKey 指向验证码的key，比如msCode=2828-->

            //  比较登录号码 不可以跳过，号码相同不弹窗
            if (localStorage.getItem('loginAccount') === item.submit.content[item.submit.content.phoneKey] &&
              localStorage.getItem('loginStatus') === 'true' &&
              item.submit.content.needMsCode === '3') {

            } else {

              this.pageModalService.openMsCodeModal(item, res => {
                if (res && res === 0) {
                  // 跳过

                  this.submitData(item);
                } else {
                  item.disabled = false;
                }
              });
              return;
            }


          }
        } else if (!formData.quote_price || formData.quote_price === 0) {
          this.appGlobalService.showToast('请填写正确的服务天数获取标准报价', 2000, 'top');
          return;
        }

        // update by andrew.wen for 收款方式有两种
        // 1.先收全款后服务  2.先收定金，服务成功付余款 这里要添加一个收款方式的校验。如果是收定金是没有服务报价的。
        if (formData.pay_way && formData.pay_way === "0") {
          if (formData.quote_discounts_price &&
            formData.quote_price &&
            (formData.quote_discounts_price < formData.quote_price)) {
            this.appGlobalService.showToast('服务报价不可以比标准报价低', 2000, 'top');
            return;
          }
        }

        this.Status = true;
        // const contentsitem = JSON.stringify(item.submit.content);
        // const content = Object.assign(
        //   JSON.parse(contentsitem),
        //   formData
        // );
        // item.submit.content = content;
        this.submitData(item);
      }
    });
  }

  setDefValue(item) {
    if (item.formKey !== undefined && item.value) {
      this.tagData.data.htmlObj.forEach(element => {
        if (element.formKey === item.formKey) {
          element.value = item.value;
          this.formGroup.patchValue({ [item.formKey]: item.value });
        }
      });
    }
  }
  setItemDefValue(item) {

    if (item.defValue) {
      item.value = item.defValue;
      this.formGroup.patchValue({ [item.formKey]: item.defValue });

    }
  }
  submitData(item) {

    const params = {
      content: item.submit.content,
      id: item.submit.id,
      sessionId: localStorage.getItem('sessionId')
    };

    this.http.post('application/submit', params, res => {
      if (res.success && res.data) {

        // 清空表单
        if (item.showValue === 'generalSubmit' || item.valueN === 'generalSubmit') {
          this.appGlobalService.globalSubmitBtnData = null;
          this.appGlobalService.globalHiddenForm = null;
        }
        if (res.message) {
          this.appGlobalService.showToast(res.message, 2000, 'top');
        }
        if (item.tabClick) {
          const tabIndex = parseInt(item.tabClick);
          this.eventService.eventEmit.emit("topTabChangeByIndex", tabIndex);
        }

        if (res && res.params && res.params.checkModal) {
          try {
            const modal = this.modalCtrl.getTop();
            if (modal) {
              this.modalCtrl.dismiss({ data: true });
            }
          } catch (error) {
          }
        }

        if (res && res.params && res.params.refresh) {

          if (Number(res.params.refresh) > 0) {
            this.http.reloadCurrentPage(res.params.refresh);
            // localStorage.setItem("needRefresh", "true");// jason 7.28 移除 不再刷新更多页面
            return;
          }
        }
        if (item.back) {
          if (Number(item.back) < 0) {
            const back = Math.abs(Number(item.back));
            for (let index = 0; index < back; index++) {
              this.appGlobalService.popTarget();
            }
            this.appGlobalService.goBack(Number(item.back));
            if (item.submit.content.needRefresh) {
              this.needRefreshTab();
            }
          } else if (Number(item.back) === 0) {
            this.http.reloadCurrentPage();
          } else {
            this.appGlobalService.goBack(Number(item.back));
          }
          // localStorage.setItem("needRefresh", "true");// jason 7.28 移除 不再刷新更多页面
        } else if (res.type === 'dialog' && res.target) {
            this.askForDialogPage(res, 'modal');
        } else if (res.type === 'dialog' && item.showIndex === 0) {
            // 不返回上级
        } else if (res.type  && res.target) {
          try {

            if (res.data && res.data.eventResult && res.params && res.params.eventResult) {
              if (res.data.eventResult) {
                res.params[res.params.eventResult] = res.data.eventResult;
              } else {
                res.params[res.params.eventResult] = res.eventResult;
              }
            }

            const link = {
              target: res.target,
              type: res.type,
              params: res.params ? res.params : {}
            };
            this.pageModalService.openPage(link, '', res => {
              // 提现
              if (item.submit.content.passwordKey) {
                this.needRefreshTab();
              }
            });
          } catch (error) {
          }
        } else if (item.formType === 'innerBtnLast') {
          try {
            const modal = this.modalCtrl.getTop();
            if (modal) {
              this.modalCtrl.dismiss({ data: true });
            }
          } catch (error) {

          }
        } else if (item.formType === 'dragSort') {
          console.log('sort success');
        } else {
            const that = this;
            setTimeout(() => {
              this.appGlobalService.goBack();
              this.appGlobalService.popTarget();
              this.appGlobalService.reloadCurrentPage();
            }, 1000);
          }


      } else {
        // 发布 验证码验证失败 弹窗不消失
        if (item.submit.content &&
          item.submit.content.needMsCode &&
          item.submit.content.phoneKey &&
          item.submit.content.msCodeKey &&
          item.submit.content[item.submit.content.msCodeKey] &&
          item.submit.content[item.submit.content.msCodeKey].length === 6) {

          if (res.message && res.message.length > 0) {
            this.appGlobalService.showToast(res.message, 2000, 'middle');
          }
          return;
        }
        this.Status = false;
        this.appGlobalService.showToast(res.message, 2000, 'middle');
      }
    });
  }
  askForDialogPage(item, linkType?) {
    item.params.modalCss = 'auto-modal';
    const link: any = {};
    if (linkType) {
      link.type = linkType;
    }
    if (item.target) {
      link.target = item.target;
      link.params = item.params ? item.params : {};
      link.modalCss = item.params.modalCss;
    }

    this.pageModalService.openPage(link, '', result => {
      if (result) {
      }
    });
  }
  openPage(link,item?) {
    if(item){
      this.currentAddressItem = item; // 暂存当前编辑地址项
    }
    if(link && link.params && link.params.disabled === "true" && link.params.tips){
      this.appGlobalService.showToast(link.params.tips,1500,'top');
      return;
    }

    this.pageModalService.openPage(link, '', res => {
      if (!res && link.params.skipLogin === "ture") {
        if (link.params.passwordLogin !== undefined) {
          delete link.params.passwordLogin;
        }
        if (link.params.oneLogin !== undefined) {
          delete link.params.oneLogin;
        }
        this.pageModalService.openPage(link);
      }
    });
  }
  linkClick(item) {
    // 表单值
    this.checkData(formData => {
      if (formData !== null) {
        // update by andrew.wen for 收款方式有两种
        // 1.先收全款后服务  2.先收定金，服务成功付余款 这里要添加一个收款方式的校验。如果是收定金是没有服务报价的。
        if (formData.pay_way && formData.pay_way === "0") {
          if (formData.quote_discounts_price &&
            formData.quote_price &&
            (formData.quote_discounts_price < formData.quote_price)) {
            this.appGlobalService.showToast('服务报价不可以比标准报价低', 2000, 'top');
            return;
          }
        }
        const context = JSON.stringify(item.params);
        const contextdata = Object.assign(
          JSON.parse(context),
          formData
        );
        const params = {
          pageId: item.target,
          params: contextdata,
          sessionId: localStorage.getItem('sessionId')
        };

        const that = this;
        if (item.type === 'contract') {
          this.http.post('/element/ljserviceContract/url', params.params, res => {
            this.appGlobalService.openUrl(item.label, res.url, params.pageId, JSON.stringify(params.params));
          });
          // 新增蜂喔合同类型 add by andrew.wen
        } else if (item.type === "ljcontract") {
          Object.keys(params.params).forEach(element => {
            if (String(params.params[element]).indexOf('##') > -1) {
              delete params.params[element];
            }
          });
          const targetObj = { pageId: item.target, params: params.params, sessionId: localStorage.getItem('sessionId') };
          this.http.post('element/ljserviceContract/url', targetObj.params, res => {
            /*  this.appGlobalService.openUrl("", res.url);  */
            this.appGlobalService.openUrl(item.label, res.url, params.pageId, JSON.stringify(params.params));
          });
        } else if (item.type === 'decoration') {
          this.http.post('/element/serviceContract/decorationurl', params.params, res => {
            this.appGlobalService.openUrl(item.label, res.url, params.pageId, JSON.stringify(params.params));
          });
        } else if (item.type === 'projectInv') {
          this.http.post('/element/serviceContract/decorationurl', params.params, res => {
            this.appGlobalService.openUrl(item.link.label, res.url, params.pageId, JSON.stringify(params.params));
          });
        } else if (item.type === 'propertyInv') {
          this.http.post('/element/serviceContract/decorationurl', params.params, res => {
            this.appGlobalService.openUrl(item.label, res.url, params.pageId, JSON.stringify(params.params));
          });
        } else {
          setTimeout(() => {
            that.appGlobalService.goToForward(params);
          }, 1000);
        }
      }

    });

  }

  // 选择房型
  onSelectHourseOk(result, item) {
    console.log(result);
    console.log(item);
  }
  cityClick(city, item) {
    city.isSelected = !city.isSelected;
    if (city.isSelected && item.selectedCityIds.indexOf(city.i) === -1) {
      item.selectedCityIds.push(city.i);
      item.selectedCityName.push(city.n);
    } else {
      item.selectedCityIds.splice(item.selectedCityIds.indexOf(city.i), 1);
      item.selectedCityName.splice(item.selectedCityName.indexOf(city.n), 1);
    }

    console.log((item.selectedCityIds).join(','));
    item.value = item.selectedCityIds.join(',');
    if (item.sep !== undefined) {
      item.value = item.selectedCityIds.join(item.sep);
    }
    item.showValue = item.selectedCityName.join(',');
    this.formGroup.patchValue({ [item.formKey]: item.value });

  }

  checkData(callBack) {
    const formKeyObj: any = {};
    this.appGlobalService.formChecked = true;
    if (this.formGroup.valid) {
      // console.log(this.formGroup.value);
      const params = this.formGroup.value;
      for (const prop in params) {
        if (Array.isArray(params[prop])) {
          params[prop] = params[prop].join(',');
        }
        // 删除无效值
        if (prop === '') {
          // delete params[prop];
        }
        if (prop.indexOf('cus_') > -1) {
          const p = prop.substring(4, prop.length - 1);
          formKeyObj[p] = formKeyObj[p] ? formKeyObj[p] : [];
          formKeyObj[p].push(params[prop]);
          this.formGroup.removeControl(prop);
          delete params[prop];
        }
      }
      // 组合表单值
      for (const key in formKeyObj) {
        if (Array.isArray(formKeyObj[key])) {
          const value = formKeyObj[key].join(',');
          this.formGroup.patchValue({ [key]: value });
        }
      }
      let compare = true;
      for (let index = 0; index < this.compareItemArray.length; index++) {
        const compareItem = this.compareItemArray[index];
        if (Number(params[compareItem.minKey]) > Number(params[compareItem.maxKey])) {
          console.log(params[compareItem.minKey]);
          console.log(params[compareItem.maxKey]);
          if (compareItem.lessTip && compareItem.lessTip.length > 0) {
            this.appGlobalService.showToast(compareItem.lessTip, 3000, 'top');
          } else {
            this.appGlobalService.showToast(`最小${compareItem.label}不得大于/等于最大${compareItem.label}`, 3000, 'top');
          }

          compare = false;
          break;
        } else if (Number(params[compareItem.minKey]) === Number(params[compareItem.maxKey]) && Number(params[compareItem.minKey]) != 0) {
          console.log(params[compareItem.minKey]);
          console.log(params[compareItem.maxKey]);
          if (compareItem.canEqual) {
            continue
          } else if (compareItem.lessTip && compareItem.lessTip.length > 0) {
            this.appGlobalService.showToast(compareItem.equalTip, 3000, 'top');
          } else {
            this.appGlobalService.showToast(`最小${compareItem.label}不得大于/等于最大${compareItem.label}`, 3000, 'top');
          }

          compare = false;
          callBack(null);
          break;
        }
      }
      if (compare) {
        console.log(params);
        // 校验OK submit
        callBack(params);
      }

    } else {
      this.getError(this.formGroup);
      callBack(null);
    }
  }
  getError(form) {
    const errs = [];
    for (const name in form.controls) {
      // eg: controls[name] = phone
      if (form.controls[name].errors) {
        errs.push({ key: [name], err: form.controls[name].errors });
      }
    }
    if (errs.length) {
      const errItem = errs[0];

      const firstErrMsgKey = Object.keys(errItem.err)[0];
      console.log(errItem.key, '校验的字段名');
      const messageObj = this.allLabel[errItem.key];
      let showMessage = messageObj[firstErrMsgKey];
      // if (errItem.err.required !== undefined) {
      //   showMessage = messageObj.required;
      // } else if (errItem.err.pattern !== undefined) {
      //   showMessage = messageObj.pattern;
      // } else
      if (errItem.err.rangeError !== undefined) {
        const label = messageObj.label.slice(-2);
        showMessage = `${messageObj.label}不得小于/等于最小${label}`;
      }
      // else {
      //   showMessage = '请输入正确的' + messageObj.label;
      // }

      this.appGlobalService.showToast(showMessage, 3000, 'top');

    }
  }

  // 选择房型弹窗
  async openModalMultipleFormKeySelect(item, nextStep?) {
    const modal = await this.modalCtrl.create({
      showBackdrop: true,
      cssClass: "house-type",
      component: PublishHouseTypeComponent,
      componentProps: { tagData: item }
    });
    await modal.present();
    // 监听销毁的事件
    const modalData = await modal.onDidDismiss(); // 获取关闭传回的值
    if (modalData && modalData.data) {
      this.formGroup.patchValue({ [modalData.data.itemdata.roomType.key]: modalData.data.itemdata.roomType.value });
      this.formGroup.patchValue({ [modalData.data.itemdata.roomHall.key]: modalData.data.itemdata.roomHall.value });
      this.formGroup.patchValue({ [modalData.data.itemdata.roomBit.key]: modalData.data.itemdata.roomBit.value });

      this.houseTypeShowValue =
        modalData.data.itemdata.roomType.label +
        modalData.data.itemdata.roomHall.label +
        modalData.data.itemdata.roomBit.label;
      item.roomType = modalData.data.itemdata.roomType.value;
      item.roomHall = modalData.data.itemdata.roomHall.value;
      item.roomBit = modalData.data.itemdata.roomBit.value;
      item.value = this.houseTypeShowValue;
    }

  }

  // 输入框自动清除首尾空格 避免提交全是空格
  clearItemSpaces(event, item) {
    // 清除空格
    try {
      event.currentTarget.value = event.detail.value.replace(/^\s+|\s+$/g, '');
    } catch (error) {
      console.log('clearItemSpaces:' + JSON.stringify(error));
    }
    this.changeValue(event, item);
  }
  textAreaClearItemSpaces(event, item){
    // 清除空格
    try {
      event = event.replace(/^\s+|\s+$/g, '');
      item.value = event;
    } catch (error) {
      console.log('clearItemSpaces:' + JSON.stringify(error));
    }
    this.formGroup.patchValue({ [item.formKey]: item.value });

  }
  tagClick0/** */(tag, it, item) {
    tag.checked = !tag.checked;

    let i = 0;
    it.children.forEach(element => {
      element.checked ? ++i : '';
    });
    i === it.children.length ? it.checked = true : it.checked = false;
    if (it.checked) {
      if (typeof item.value === 'string') {
        item.value = item.value.split(',');
      }
      // 加入大类 清除小类
      item.value.push(it.value);
      it.children.forEach(element => {

        const index = item.value.findIndex(v => (v === element.value));
        if (index > -1) {
          item.value.splice(index, 1);
        }

      });
    } else {
      it.children.forEach(element => {
        // 先清除
        const index = item.value.findIndex(v => (v === element.value || v === it.value));
        if (index > -1) {
          item.value.splice(index, 1);
        }

      });
      // 再加入
      it.children.forEach(element => {
        if (element.checked) {
          item.value.push(element.value);
        }
      });
    }
    console.log(item.value);
    this.formGroup.patchValue({ [item.formKey]: item.value });

  }

  openOrCloseClick(it) {
    it.open = !it.open;
  }
  chooseAll0(it, item) {
    it.checked = !it.checked;

    if (it.checked) {
      if (typeof item.value === 'string') {
        item.value = item.value.split(',');
      }
      item.value.push(it.value);
      // 加入大类 清除小类
      it.children.forEach(element => {
        element.checked = true;
        const index = item.value.findIndex(v => (v === element.value));
        if (index > -1) {
          item.value.splice(index, 1);
        }
      });

    } else {
      it.children.forEach(element => {
        element.checked = false;
        //  清除 大类、小类
        const index = item.value.findIndex(v => (v === element.value) || it.value === v);
        if (index > -1) {
          item.value.splice(index, 1);
        }
      });

    }
    console.log(item.value);
    $('#' + it.value).slideToggle("slow");
    this.formGroup.patchValue({ [item.formKey]: item.value });
  }


  // 服务类型
  async showAllType(tagData) {
    const modal = await this.modalCtrl.create({
      showBackdrop: true,
      component: ServiceTypeComponent,
      componentProps: { tagData }
    });
    await modal.present();
    // 监听销毁的事件
    const modalData = await modal.onDidDismiss(); // 获取关闭传回的值
  }

  // 评分
  updateRateReturn(event, item) {
    item.data.forEach(element => {
      if (parseInt(element.value, 10) === event) {
        item.showValue = element.label;
      }
    });
    this.formGroup.patchValue({ [item.formKey]: event });

  }

  getAllCash(item) {
    item.value = item.showValue;
    this.formGroup.patchValue({ [item.formKey]: item.value });
  }

  changeAddress(item) {
    if (item.disabled) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }

      return;
    }

    if (item.showData.link) {
      setTimeout(() => {
        localStorage.setItem("needRefresh", "false");
      }, 1000);
      this.currentAddressItem = item;
      this.pageModalService.openPage(item.showData.link);
      return;
    }

  }
  async changeAccount(item) {
    if (item.disabled) {
      if (item.tips && item.tips.length > 0) {
        this.appGlobalService.showToast(item.tips, 1500, "middle");
      }

      return;
    }
    if (item.data.length === 1 && item.data[0].link) {
      this.pageModalService.openPage(item.data[0].link);
      return;
    }

    if (item.data[0] && item.data[0].link) {
      const that = this;
      const id = that.pageModalService.addModeId();
      const modal = await this.modalCtrl.create({
        showBackdrop: true,
        cssClass: 'auto-modal',
        component: SelectAccountModalComponent,
        componentProps: { tagData: item },
        id
      });
      await modal.present();
      modal.onDidDismiss().then(function(data) {
        that.pageModalService.removeModeId(id);
        if (data && data.data) {
          item.showData = data.data;
          item.value = data.data.value;
          that.formGroup.patchValue({ [item.formKey]: item.value });
        }

      });
    }

  }

  getMSCode(item, it) {

    if (this.formGroup.get([item.formKey]).errors) {
      this.appGlobalService.showToast('请输入正确手机号码', 2000, 'top');
    } else {
      if (it.submit) {
        const params = {
          content: { [item.formKey]: item.value },
          id: it.submit.id,
          sessionId: localStorage.getItem('sessionId')
        };
        this.http.post('application/submit', params, res => {
          if (res.success && res.data) {
            it.time = 90;
            if (it.submit.content && it.submit.content.time && it.submit.content.time.length > 0) {
              it.time = parseInt(it.submit.content.time, 10);
            }

            const timer = setInterval(() => {
              it.time = it.time - 1;
              if (it.time === -1) {
                clearInterval(timer);
              }
            }, 1000);

            if (res.data.code) {
              it.value = res.data.code;
              this.formGroup.patchValue({ [it.formKey]: it.value });
            }

          }
          if (res.message && res.message.length > 0) {
            this.appGlobalService.showToast(res.message, 1500, 'top');
          }

        });
      }
    }

  }
  passWordIonBlur(item) {
    item.onFocus = false;
  }
  passWordIonFocus(item) {
    item.onFocus = true;
  }
  
  endIconClick(item) {
    if (item.endIcon === 'release_icon_contact@3x.png' &&
      item.subHtmlObj &&
      item.subHtmlObj.length === 1 &&
      item.subHtmlObj[0].formType.indexOf('textInput') > -1) {
      this.contacts.pickContact().then((contact) => {
        console.log("contacts:-->" + JSON.stringify(contact));
        // this.familyDisplayName = contact.displayName;
        // 更新： Android的全名显示在displayName，IOS的全名显示在name.formatted
        const name = contact.displayName != null ? contact.displayName : contact.name.formatted;
        const familyPhoneNumbers = contact.phoneNumbers;

        item.value = name;
        this.formGroup.patchValue({ [item.formKey]: name });

        const that = this;
        const buttons: any = [];
        familyPhoneNumbers.forEach(element => {

          element.value = element.value.replace(/\s|[(]|[)]|[（]|[）]|[-]*/g, '');

          const regx = /(1[3|4|5|6|7|8|9][\d]{9})/g;
          const phoneNums = element.value.match(regx);

          if (phoneNums && phoneNums.length > 0) {
            element.value = phoneNums[0];
            buttons.push(phoneNums[0]);
          }
        });

        if (buttons.length > 1) {
          ActionSheetService.showActionSheetWithOptions(
            {
              title: '请选择号码',
              options: buttons,
              maskClosable: true
            },
            buttonIndex => {
              if (buttonIndex > -1) {
                console.log(buttons[buttonIndex]);
                item.subHtmlObj[0].value = buttons[buttonIndex];
                this.formGroup.patchValue({ [item.subHtmlObj[0].formKey]: buttons[buttonIndex] });
              }
            }
          );
        } else if (buttons.length === 1) {
          item.subHtmlObj[0].value = buttons[0];
          this.formGroup.patchValue({ [item.subHtmlObj[0].formKey]: buttons[0] });
        } else {
          console.log("该联系人 无手机号码");
          item.subHtmlObj[0].value = '';
          this.formGroup.patchValue({ [item.subHtmlObj[0].formKey]: '' });
        }
      });
    }
    if (item.link) {
      if (item.link.params && item.link.params.codeEventName){
        if (this.eventService.eventEmit.listenerCount(item.link.params.codeEventName) > 0) {
          this.eventService.eventEmit.removeListener(item.link.params.codeEventName);
        }
        this.eventService.eventEmit.on(item.link.params.codeEventName, res => {
          if (res) {
            item.value = res;
            this.formGroup.patchValue({[item.formKey]:item.value})
          }
          
        });
      }
      this.pageModalService.openPage(item.link, '', res => {

      });
    }

  }
  designStyle(itemInfo, item) {
    // 不可以选
    if (itemInfo.status !== 'true') {
      return;
    }
    itemInfo.check = !itemInfo.check;
    if (!item.checkArray) {
      item.checkArray = [];
    }
    if (itemInfo.check) {
      item.checkArray.push(itemInfo);
    } else {
      const index = item.checkArray.indexOf(itemInfo);
      if (index > -1) {
        item.checkArray.splice(index, 1);
      }
    }


    let i = 0;
    let value = '';
    const valueArray: any = [];
    const showValueArray: any = [];
    item.checkArray.forEach(element => {
      if (element.check) {
        element.index = ++i;
        valueArray.push(element.value);
        showValueArray.push(element.label);
      }
    });
    value = valueArray.join(',');
    if (item.sep !== undefined) {
      value = valueArray.join(item.sep);
    }
    item.value = value;
    item.showValue = showValueArray.join(',');
    this.formGroup.patchValue({ [item.formKey]: item.value });

  }

  // 左边大类点击
  itemLeftClick(it, item) {
    if (it.open) {
      return;
    } else {
      if (item.maxSize === 1 && item.current) {
        // 切换时候清除之前的
          item.value = [];
          item.current.checked = false;
          item.current.hasValue = false;
          // 清除 二级
          item.current.children.forEach(element => {
            element.checked = false;
            if (element.children && element.children.length > 0) {
              // 三级
              element.children.forEach(e => {
                e.checked = false;
              });
            }

          });
      }
    }

    item.current.open = false;
    if (item.current.children && item.current.children[0].open) {
      item.current.children[0].open = false;
    }

    it.open = true;
    item.current = it;

    if (item.formType === 'threeLevelSelection' && item.current.children && item.current.children[0]) {
      item.current.current = item.current.children[0]; // 3
      item.current.children[0].open = true;
    }
    if (item.formType !== 'singleSelect3-4') {
      this.checkBigVaue(item);
    }
  }
  chooseCurrentAll(item) {
    item.current.checked = !item.current.checked;
    if (item.current.checked) {
      item.current.hasValue = true;
      item.current.children.forEach(element => {
        element.checked = true;
        element.hasValue = true;
        element.children.forEach(e => {
          e.checked = true;

        });
      });
    } else {
      item.current.hasValue = false;
      item.current.children.forEach(element => {
        element.checked = false;
        element.hasValue = false;
        element.children.forEach(e => {
          e.checked = false;

        });
      });
    }
    this.checkBigVaue(item);
    console.log(item.value);
    this.formGroup.patchValue({ [item.formKey]: item.value });
  }
  // 大类数量限制
  checkBigSize(item) {
    let count = 0;
    if (item.maxSize && item.maxSize > 1) {
      item.children.forEach(element => {
        if (element.hasValue) {
          count += 1;
        }
      });
      if (count > item.maxSize) {
        this.appGlobalService.showToast('最多选' + item.maxSize + '个大类', 1500, 'top');
        item.current.hasValue = false;
        item.current.children.forEach(element => {
          element.checked = false;
          element.hasValue = false;
          element.children.forEach(e => {
            e.checked = false;

          });
        });
        this.checkBigVaue(item);
        console.log(item.value);
        this.formGroup.patchValue({ [item.formKey]: item.value });
      }
    }
  }
  // 单个二级类数量限制
  checkSecondLevelSize(it, item) {
    if (item.current && item.current.maxSize && item.current.maxSize == "1") {
      // 清除其他类
      item.current.children.forEach(element => {

        if (it !== element) {
          element.checked = false;
          if (element.children && element.children.length > 0) {
            // 三级
            element.children.forEach(e => {
              e.checked = false;
              const index = item.value.findIndex(v => (v === e.value));
              if (index > -1) {
                item.value.splice(index, 1);
              }
            });
          }
          //  清除 大类、小类
          const index = item.value.findIndex(v => (v === element.value));
          if (index > -1) {
            item.value.splice(index, 1);
          }
        }
      });
    }
  }
  chooseAll(it, item) {
    it.checked = !it.checked;

    if (it.checked) {
      this.checkSecondLevelSize(it, item);
      if (item.current) {
        item.current.hasValue = true;
      }

      if (typeof item.value === 'string') {
        item.value = item.value.split(',');
      }
      item.value.push(it.value);
      // 加入大类 清除小类
      it.children.forEach(element => {
        element.checked = true;
        const index = item.value.findIndex(v => (v === element.value));
        if (index > -1) {
          item.value.splice(index, 1);
        }
      });

      // this.checkBigVaue(item);
    } else {
      if (item.current) {
        item.current.hasValue = false;
      }
      it.children.forEach(element => {
        element.checked = false;
        //  清除 大类、小类
        const index = item.value.findIndex(v => (v === element.value) || it.value === v);
        if (index > -1) {
          item.value.splice(index, 1);
        }
      });

    }
    this.checkBigVaue(item);
    console.log(item.value);
    $('#' + it.value).slideToggle("slow");
    this.formGroup.patchValue({ [item.formKey]: item.value });

  }

  tagClick(tag, it, item) {
    tag.checked = !tag.checked;
    if (typeof item.value === 'string') {
      item.value = item.value.split(',');
      if (item.value.indexOf('') > -1) {
        item.value.splice(item.value.indexOf(''), 1);
      }

    }
    this.checkSecondLevelSize(it, item);
    // 没有第三级
    if (tag === it) {
      if (tag.checked) {
        item.current.hasValue = true;

      } else {
        let hasValue = false;
        item.current.children.forEach(element => {
          if (element.checked) {
            hasValue = true;

          }
        });
        item.current.hasValue = hasValue;
      }
    } else {
      let i = 0;
      it.children.forEach(element => {
        element.checked ? ++i : '';
      });
      (i === it.children.length && i > 0) ? it.checked = true : it.checked = false;
      if (it.checked) {
        if (item.current) {
          item.current.hasValue = true;
        }

        // 加入大类 清除小类
        item.value.push(it.value);
        it.children.forEach(element => {

          const index = item.value.findIndex(v => (v === element.value));
          if (index > -1) {
            item.value.splice(index, 1);
          }

        });
      } else {
        it.children.forEach(element => {
          // 先清除
          if (item.current) {
            item.current.hasValue = false;
          }
          if (item.value) {
            const index = item.value.findIndex(v => (v === element.value || v === it.value));
            if (index > -1) {
              item.value.splice(index, 1);
            }
          }


        });

        // 再加入
        it.children.forEach(element => {
          if (element.checked) {
            if (item.current) {
              item.current.hasValue = true;
            }
            item.value.push(element.value);
          }
        });
      }
    }

    this.checkBigVaue(item);
    console.log(item.value);
    this.formGroup.patchValue({ [item.formKey]: item.value });

  }
  level3Click(level3, item) {
    level3.checked = !level3.checked;
    if (typeof item.value === 'string') {
      item.value = item.value.split(',');
      if (item.value.indexOf('') > -1) {
        item.value.splice(item.value.indexOf(''), 1);
      }

    }
    {
      let i = 0;
      item.current.current.children.forEach(element => {
        element.checked ? ++i : '';
      });
      (i === item.current.current.children.length && i > 0) ? item.current.current.checked = true : item.current.current.checked = false;
      if (item.current.current.checked) {
        if (item.current.current) {
          item.current.current.hasValue = true;
        }

        // 加入大类 清除小类
        item.value.push(item.current.current.value);
        item.current.current.children.forEach(element => {

          const index = item.value.findIndex(v => (v === element.value));
          if (index > -1) {
            item.value.splice(index, 1);
          }

        });
      } else {
        item.current.current.children.forEach(element => {
          // 先清除
          if (item.current.current) {
            item.current.current.hasValue = false;
          }
          if (item.value) {
            const index = item.value.findIndex(v => (v === element.value || v === item.current.current.value));
            if (index > -1) {
              item.value.splice(index, 1);
            }
          }


        });

        // 再加入
        item.current.current.children.forEach(element => {
          if (element.checked) {
            if (item.current.current) {
              item.current.current.hasValue = true;
            }
            item.value.push(element.value);
          }
        });
      }
    }
    this.checkBigVaue(item);
    console.log(item.value);
    this.formGroup.patchValue({ [item.formKey]: item.value });
  }

  checkAllL1(event, level1, item) {
    if (item.current !== level1) {
      this.itemLeftClick(level1, item);
    }
    this.chooseCurrentAll(item);
    event.stopPropagation();
  }
  itemCenterClick(level2, item) {
    item.current.current.open = false;
    item.current.current = level2;
    level2.open = true;
  }
  checkAllL2(event, level2, item) {

    if (item.current.current !== level2) {
      item.current.current.open = false;
      item.current.current = level2; // 3
      level2.open = true;
    }
    this.chooseCurrentL2All(item);
    event.stopPropagation();
  }

  chooseCurrentL2All(item) {
    item.current.current.checked = !item.current.current.checked;
    if (item.current.current.checked) {
      item.current.current.hasValue = true;
      item.current.current.children.forEach(element => {
        element.checked = true;
      });
    } else {
      item.current.current.hasValue = false;
      item.current.current.children.forEach(element => {
        element.checked = false;
      });
    }
    this.checkBigVaue(item);
    console.log(item.value);
    this.formGroup.patchValue({ [item.formKey]: item.value });
  }

  checkBigVaue(item) {
    // 遍历当前二级分类是否全选
    if (item.current) {
      let n = 0;
      item.current.children.forEach(element => {
        element.checked ? ++n : '';
      });
      // 全选择 清除 二三级
      if (item.current.children.length === n) {
        item.current.checked = true;
        const index = item.value.findIndex(v => (v === item.current.value));
        if (index === -1) {
          item.value.push(item.current.value);
        }

        // 清除 二级
        item.current.children.forEach(element => {

          const index = item.value.findIndex(v => (v === element.value));
          if (index > -1) {
            item.value.splice(index, 1);
          }
          // 清除 三级
          this.removeValue(item, element);
        });
      } else {
        item.current.checked = false;
        item.current.hasValue = false;
        // 清除一级分类value
        const index = item.value.findIndex(v => (v === item.current.value));
        if (index > -1) {
          item.value.splice(index, 1);
        }
        // 遍历 二 三级
        item.current.children.forEach(element => {
          if (element.checked) {
            item.current.hasValue = true;
            if (item.value.findIndex(v => (v === element.value)) === -1) {
              item.value.push(element.value);
            }

          } else {
            if (item.value.findIndex(v => (v === element.value)) > -1) {
              item.value.splice(item.value.findIndex(v => (v === element.value), 1));
            }
            element.children.forEach(e => {
              if (e.checked) {
                item.current.hasValue = true;
                if (item.value.findIndex(v => (v === e.value)) === -1) {

                  item.value.push(e.value);
                }
              }
            });
          }

        });
      }
    }
    this.checkBigSize(item);
  }

  removeValue(item, it) {
    it.children.forEach(e => {
      const index = item.value.findIndex(v => (v === e.value));
      if (index > -1) {
        item.value.splice(index, 1);

      }
    });
  }
  addValue(item, it) {
    it.children.forEach(e => {
      if (e.checked && item.value.findIndex(v => (v === e.value)) === -1) {
        item.value.push(e.value);
      }
    });
  }
  // 1.9.19 蜂喔用户 找阿姨 -》 家电清洗-》立即下单
  updateNormalBtns(res,showAllPrice?) {
    if (this.appGlobalService.priceBtns && this.appGlobalService.priceBtns.length > 0) {
      this.appGlobalService.priceBtns.forEach(element => {
        if (element && element.action === 'price') {
          // 增加打折参数
          if (element.discount && Number(element.discount) > 0) {
            res  = (Number(res) * Number(element.discount)).toFixed(2);
            if (element.label1 && element.label2) {
              // 省多少钱
              element.label2  = (Number(res) * (1 - Number(element.discount))).toFixed(2);
            }
          }
          if(showAllPrice == 0 ){
            element.showAllPrice = undefined;
          } else {
            element.showAllPrice = '1';
          }
          element.desc = res + '';
        }
      });
    }
  }

  demoData() {
    this.tagData = {
      // 多选的分隔符号 可以配置 sep 无默认值 配置 ; or ,
      // formType
      //    0. textInput_border 输入框左边带图标
      // ok 1. textInput   单行文本输入框
      // ok 1.1 属性extra: '元', 带单位显示文本框
      // ok 1.2 属性endIcon: 'XX.png'
      // ok 1.3 属性label: '' 或者不设置 则不显示 输入框占整行, 如发布电话
      // ok 1.4 属性 subHtmlObj: []只包含一个子对象 类型为 singleColumnSelect 如：租金单位选择
      //        switchButtonFW_3品牌  singleSelect3 建材分类
      // ok 1.5 属性 textType: "text", // text /phone /number password 其他标准 html input type 类型
      // ok 1.6 属性disabled: true , 该行不能编辑
      // ok 1.7 无左边标题输入框 不设置lable 只有输入框的单行输入
      // digit:'0', // 默认0 小数点后位数设置
      // ok 2. uploadIdentityWidget  上传身份信息控件
      // ok 3. photoSelectWidget 图片选择控件 (售前备注)
      // 属性tips:'视频属性通过pc 上传' delete == true 显示del
      // textType = pdf 支持上传pdf
      // cropperRatio  类型  float
      // allowCropper 类型  bool    默认false 或者 或者不配置不返还
      // photoSelectWidget 属性 orc = "IDCardFront" 支持识别图片内容 对应填充到包含orcKey的formType中
      // orc:
      // 身份证前面 IDCardFront   身份证背面 IDCardBack
      // 银行卡 scanBankCard
      // 营业执照scanBusiness

      // ok 4. textArea  多行输入  *必须有属性：hasBorder：true/false 是否有边框 *maxLength 必须有才能显示字数统计
      // 4.1 textAreaLines 左边有label的 showValue 设置行数 showValue==1 可以自动高度
      // ok 5. switchButton 切换按钮 dataList中必须有一项check=true 如包含子项目subFormObj 根据 子项中 属性showCondition != 父级对象的value 值 则显示该子项不显示 或者子项中 没有属性showCondition也是显示的
      // ok 6. datePicker 时间选择 YYYY-MM-DD HH:mm 属性max min 格式：2050-12-31 defValue 默认值
      // oK 6. 3"ionDatetime" 属性max min 格式：2050-12-31 (样式)model= ' YYYY MM DD HH:mm' | 'YYYY MM ' | 'HH:mm' | 'YYYYY' | 'MM'

      // ok6.2 datePickerLJ model= 'year' | 'month' | 'date' | 'time' | 'datetime'
      // oK 6.1 "datePlug"  model= 'year' | 'month' | 'date' | 'time' | 'datetime'
      // ok 7. singleColumnSelect  底部弹出单选 根据有submit 弹出模态窗页面(如 人员选择 (占整屏)) 如包含子项目subFormObj 根据 子项中 属性showCondition != 父级对象的value 值 则显示该子项不显示 或者子项中 没有属性showCondition也是显示的
      // 7.1 multiSelect 支持多选

      // OK 8. multipleColumnSelect  中间弹出多选 包含确定按钮 支持 max 参数设置最大选择数量 showCheckAll是否显示全选 , radio = true 选项与其他互斥
      // OK 8.1 multipleColumnSelectTwoLine radio = true 选项与其他互斥
      // OK 9. modalOfPersonSelect 列表单选 人员选择 (占整屏)
      // 9.1 modalListMultipleChoose 列表多选 人员选择 (占整屏 ) 暂无
      // ok 10. pickerSelect 18 // 行业单选 需要配置 submit
      // ok 11. modalMultipleSelect  // 行业多选 submit max 表示多个大项混合最多可以选数，maxSize==1表示大类只能选一个
      // ok 12. pickerSelect //    区域单选 属于 citySelect子类  需要配置 submit 在 citySelect 内
      // ok 13. modalMultipleSelect  //  区域多选 属于 citySelect子类  需要配置 submit 在 citySelect 内
      // ok 14. releaseTypeWidget 发布类型
      //    14.1 releaseTypeWidgetStyle  支持样式配置参照switchButtonFW_3 样式
      // ok 15. moreDetailInfo // 当前页面直接展示更多表单项目
      // ok 16. selectAddressWidget  地址选择 12
      // ok 17. quickRelease  快速发布checkBox
      // ok 17.1 checkBox  服务报价 checkBox

      // ok 18. addReleasePhoto 发布页面顶部大图 avatarSelectWidget 头像选择
      // ok 19. contractSelectWidget 合同凭证 *有条件控制是否显示子项目时候，value默认值不能为''
      // ok 20. showSingleSelect 举报 列表单选 *有条件控制是否显示子项目时候，value默认值不能为''
      // ok 22. modalEditMoreInfo  编辑更多信息（打开新页面）
      // ok 23. grayItem 占位分隔组
      // ok 24. multipleForm 表示他里面子项目是 没有formKey的 例如左领右舍 中 左/右 每个字段 分成三行显示的
      // ok 25. commaSpliceShowValueForm 表示逗号分隔显示其下 多个 formKey的值组合显示在一行UI上 例如 左领右舍的的两个字段组合 显示在一行
      // ok 26. timeSlot 营业时间段 子项的mode是日期类别 父项控制格式
      // ok 27. areaSlot 面积区间 lessTip : item.lessTip,equalTip 提示语
      // ok 27.1 areaSlot 期望范围 后面带单位选择 singleColumnSelect
      // ok 28. citySelect 城市选择 属性 hidden:true 时不显示城市选择但是包含的区域选择是显示的
      // ok 29. modalOfTextArea 弹出页面 编辑多行文本描述，例如 店铺描述
      // ok 30. tipsMessage 客户已被他人维护
      // ok 31 小旺 7.3.0 新增表单类型 tipsMessage
      // ok 32 铺铺旺 3.7.0 新增表单类型 modalOfMoreItems 招商 公司信息 showIndex 选择显示第几个子项的值 innerHTML 默认true 
      // ok 33 蜂喔商户 1.1.0 新增表单类型 hintText 提示标签 background 背景样式 showValue 表示内容 leftIcon左侧图标
      // ok 34 蜂喔商户 1.1.0 新增表单类型 titleTip 标题标签 valueColor 背景样式 showValue 表示内容 leftIcon左侧图标

      // ok 35 蜂喔商户 nextPageFomObj 下一页page公司认证 蜂喔发布
      // showAnimation: true, 默认false  是否显示横向动画化进入
      // tips:'下一页title修改'
      // value:'完成最后一步<br>立即为您推荐合适房源', 导航透明，
      // showValue:'立即为您推荐合适房源', 修改发布btn文案，
      // showValue:, 展示 分享btn，
      // itemList value == navBtn 表示导航栏要增加的btn
      // 	<itemList label="分享"  value="navBtn" icon="http://share.png" >
      // 	<link type="page" target="share_publish_page">
      // 		 <param name="pageid" value="3006"></param>
      // 		</link>
      // 	</itemList>
      // 	itemList value == submitText 表示要改变发布btn的文案
      // 	<itemList label="改变发布btn文案"  value="submitText" >
      // 	</itemList>
      //  配合使用的btn tag.AppGeneralButtonTagLogic 配置 linearLayout：nextPage

      // ok 36 蜂喔商户 innerBtn 服务报价 表单内部btn 提交Submit showValue = "generalSubmit" 表示通用提交，
      // 36.1 蜂喔商户 innerBtnLast 弹窗发布，配置在最后一项 表单内部btn 提交Submit
      // 37 蜂喔商户 合同link
      // 38 蜂喔商户 服务报价servicePrice
      // 39 formType: "hintContent",
      // 40 独立分割线 sepline
      // 41 bottomMultipleColumnSelect 底部弹出多选
      // 42 modalMultipleFormKeySelect 房型选择
      // 43 photoVideoSelectWidget 图片视频
      // 44. mCitySelect 城市多选择
      // 45. departmentSelect 部门选择
      // 46. multipleSelect 多选材料及其子类选择
      // 46.1 multipleSelect3 三级 多选材料及其子类选择 + 自适应 2-3级A showCheckAll是否显示全选 maxSize=1限制第一级选择1个 showValue != generalSubmit 时去掉自带确定

      // 47. price 服务费用
      // 48. checkData 资料审核
      // 49 backTips 返回提示 设置value 为'' 则返回不提示
      // 50. serviceType 服务类别明细
      // 51. chooseGrade 入驻级别
      // 52. scoreFormType 评分
      // 53. chooseServiceType 选择服务类别
      // 54. getCashType 提现
      // 55. selectAccount 选择提现账号
      // 56. passwordType 设置提现密码
      // 57. accountType 设置账号，验证码
      // 58.   descInfo
      // 59.4 modalMultipleSelect3_Auto_Full 弹窗自适应完2-3级分类多选2级可以全选3级 子项不定宽 (全屏窗) modalCssStyle 弹窗样式
      // 59. modalMultipleSelect3 弹窗自适应2-3级分类多选 子项定宽 2个一行- (半窗)
      // 59.1 modalMultipleSelect3_Auto 弹窗自适应2-3级分类多选 子项不定宽 (半窗)
      // 59.3 modalMultipleSelect3_Full 弹窗2-3级分类多选 (全屏窗) 有三级（品牌。全选不包含品牌选择）时候 二级占整行，子项不定宽。

      // 60. singleSelect3 自适应2-3级分类单选 子项定宽 2个一行（占全屏）
      // 61. sectionDesc 分组标题
      // 62. multipleInterestSelect 启动关注页 多选，item.cssStyle 可以控制展示几列
      // 免费设计相关
      // 63. multipleDesignStyleSelect 设计风格选择
      // 64. modalOfMoreItemsDesign // 编辑更多
      // 64.1 'modalOfMoreItemsFW' //箭头向下
      // 64.2 'modalOfMoreItemsJoin' //箭头向右 label与 value 有分割线
      // 64.3  'bottomModalOfMoreItemsFW' 底部弹窗方式显示编辑更多项目 可配置leftIcon endIcon

      // 65. designItem 项目纯展示点击 leftIcon endIcon
      // 66. pickerSelectDesign 免费设计表单样式 省市区三级选择
      // 67. textInputDesign sepCssStyle 分割线样式

      // 68. footerBtn , // 必须配置在二级表单第一项 不做提交，只用于确定 当前选择 返回 ，配合 showSureBtn: false  使用
      // 69. formHeader 标题头左右有横线
      // 70. pickerSelectTwoLine 城市


      // 入驻相关的
      // 70 textInputJoin
      // 71. modalOfMoreItemsJoin // 编辑更多
      // 72. multipleColumnSelectJoin // 多选区域
      // 73. joinLinks 入驻协议
      // 74. singleColumnSelectJoin 底部弹窗 actionsheet
      // 74.1 singleColumnSelecTwoLine 底部弹窗 actionsheet
      // 75. pickerSelectJoin 省市区 子项 multipleColumnSelectJoin +submit 可以级联 +
      // 75. airBubbles 气泡提示
      // 76.modalMultipleSelect3_Auto_Full 弹窗自适应3级分类多选 子项不定宽 (全屏窗)
      // 77. estimatePrice 维修预估价格
      // 服务评价
      // 78.userInfo 用户信息
      // 79.switchButtonMark 是否满意
      // 80.switchButtonMarkTag 是否满意 标签

      // 81. addItemCount 维修项目数量

      // 82. chooseTimeRange 选择时间范围
      // 83. chooseTime 选择时间点
      // 84. selectAddress  地址选择列表
      // 85. addItemCountList 规格列表
      // 86. itemDetail 下单详情
      // 87. pickerSelectSepTwo 广告位选择 数据3级拆分

      // 88. serviceSpecification 服务规格设置
      // 89. updateRules 更新秒杀规则
      // 90. profit 计算优惠、利润
      // 91. singleSelect3-4 3-4级分类 、品牌单选

      // 92.selectInvoiceHead 必需包含三项
      // title_type 发票类型 0企业 1个人或事业  switchButtonLJ
      // enterprise_name 发票抬头  textInputLJ
      // number 税号 textInputLJ
      // 93.changePublish
      // 94.richTextEdit 富文本编辑
      // 95."addPercentItemList",尾款设置
      // 96. addItemCountNoInput 数量加减
      // 97. chooseHours 小时数选择
      // 98. chooseMap选择地图地址信息
      // 99. selectCommunityAddress 选择小区地址
      // 100. selectCommunityAddressJoin 选择小区地址 （邀请）
      // 101 pickerSelectDate 选则当前时间到30日内日期  maxSize: 30, // 天数范围
      // 102 copyAddress 复制地址
      // 103 fourLevelAddress 四级地址选择
      // 104 editItemListTable 规格列表
      // 105 formType: "selectBank",
      // 106.addServiceSpecification 添加服务项目-价格 传参格式>>>> 名称1inner价格1split名称2inner价格2split名称3inner价格3
      // 107 selectCertificates 选择证书
      // 108 paresAddress 地址粘贴解析
      // 109 showMapCommunity 地图选择小区
      // 110 sendRecAddress 收发地址
      // 111 switchButtonKD 选快递
      // 蜂喔用户端扩展 如textInput 等
      // 1 textInputLJ 标题独占一行
      // 2 textInputLJOneLine 标题与输入同一行
      // 3 textAreaLJ
      // 4 singleColumnSelectLJ 底部弹窗 actionsheet
      // 5 modalMultipleSelectLJ 行业区域 多选
      // 5.1modalMultipleSelectLJ_AfterSubmit  在singleColumnSelectLJ之下 选择后才发submit
      // 5.2 multipleSelectLJ 行业区域 多选 直接展示 不用作弹窗 showValue != generalSubmit 时去掉自带确定
      // 6 pickerSelectLJ 行业区域单选
      // 7 selectAddressWidgetLJ 地址选择
      // 8 areaSlotLJ 租金 面积 范围
      // 9 radioButtonLJ 方块button单选 配置 同switchButton
      // 9.1 radioButton 圆点 button单选 配置 同switchButton 无label 靠左对齐
      // 10 switchButtonLJ 单选 multiSelect 属性控制是否可以同时选中
      // 10.1 switchButtonLJ_icon 单选 multiSelect 属性控制是否可以同时选中 带icon ，只有2个选项时等宽 全屏宽
      // 10.2 switchButtonFW  单选 multiSelect 属性控制是否可以同时选中 带icon  4等分一行
      // 10.3 switchButtonFW_3  单选 multiSelect 属性控制是否可以同时选中 3 等分一行 设置maxSize后控制一行数量 showSearchModal:true, // 搜索栏 max 设置最多选择数量


      // 11 citySelectLJ 城市选择 与区域选择在一行 区域多选用modalMultipleSelectLJ
      // 12 citySelectOneline  城市选择 与区域选择在一行 区域多选用modalMultipleSelectLJ
      // 13. multipleSlumnSelectLJ  中间弹出多选 包含确定按钮 支持 max 参数设置最大选择数量 showCheckAll是否显示全选

      // photoS

      paramName: "string",
      data: {
        htmlObj1:[{
          labelCssStyle:"flex-grow:1;max-width:none;",
          "showLabel": true,
          "showSureBtn": true,
          "usePlaceHolderAsTitle": true,
          "formKey": "example_procedure",
          "formType": "modalOfRichText",
          "showValue": "",
          "label": "项目介绍<span style='font-size: 1rem;font-weight: 400;color: #FF3D2B;line-height: 1.38rem;'>*</span>",
          "placeHolder": "项目介绍",
          "value": "",
          "showIndex": "0",
          "valueCssStyle": "white-space: normal;text-overflow: ellipsis;max-height:calc(100vw - 2rem);margin: 0px 1rem;margin-bottom: 1rem;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;",
          extraCssStyle:"width:auto;background: #999999;border-radius: 0.75rem;padding:0.75rem;margin:0 0.75rem;font-size: 0.75rem;display: block;",
          "extra": '<p><strong style="color:#666666;">点击填写项目详情</strong></p><p><span>项目详情介绍图片：</span></p><p><span >目前规模：</span></p><p><span >市场前景：</span></p><p><span >投资规模：</span></p><p><span >公司简介：介绍公司基本情况、发展历程、管理团队等信息；</span></p><p><span >合作优势：突出公司的专业能力、品牌形象、市场竞争力和行业领先地位等方面的优势；</span></p>',
          "subHtmlObj": [
              {
                  "formKey": "desc",
                  "formType": "richTextEdit",
                  "label": "",
                  "placeHolder":'',
                  extraCssStyle:"position: absolute;top: 0;padding: 12px 15px;z-index: 1;font-size: 0.75rem;color:#999999;",
                  "extra": '<p><strong style="color:#666666;">点击填写项目详情</strong></p><p><span>项目详情介绍图片：</span></p><p><span >目前规模：</span></p><p><span >市场前景：</span></p><p><span >投资规模：</span></p><p><span >公司简介：介绍公司基本情况、发展历程、管理团队等信息；</span></p><p><span >合作优势：突出公司的专业能力、品牌形象、市场竞争力和行业领先地位等方面的优势；</span></p>',

                  "value": "",
                  "lines": "inset",
                  "valueCssStyle": "width:100%;height:80vh;",
                  "innerHTML": true,
                  "labelCssStyle": "font-size: 1rem;font-weight: bold;color: #000000;line-height: 1.38rem;padding:0 1.25rem;"
                }
          ],
      }],
      htmlObj2:[
          {
            formType: "switchButtonSystem",
            label: "设置默认地址",
            formKey: "modifyShopName10",
            value: '1', //  默认 是
            rules: [
            ],
          },
          {
            formType:"textAreaLines",
            formKey:"sendManPrintAddr",
            placeHolder: "请填写详情地址",
            valueCssStyle:"width:100%;padding-top:0.75rem",
            label:"寄件地址"
          },
          {
            formType: "fileSelectWidget",
            formKey: 'photos_file',
            formKeys: 'fileNameKey', // 附件名称key
            textType: '.pdf, .ppt, .pptx, .zip , .png',  // 支持的文件格式
            tipsCssStyle: "text-align:left;font-size: 0.75rem;color: #999999;line-height: 1.06rem;margin-top:0.5rem",
            tips: '可上传项目计划书，文件大小10MB以内，支持ptt、pdf、rar、zip格式；附件可供用户下载。',
            value: "",
            valueN: "",//文件名
            background: "width: 6.63rem;height: 6.63rem;background: #F7F7F7;border-radius: 0.38rem;margin-top:1rem;",
            label:"附件", 
            labelCssStyle: "font-size: 1rem;color: #222222;line-height: 1.38rem;",
            delete: true, // 显示 删除
            valueNCssStyle: "margin-left:0.5rem;flex-grow:1", // 文件名称
            valueCssStyle: 'height: 3.5rem;background: #F7F7F7;border-radius: 0.38rem;display: flex;justify-content: center;align-items: center;padding:0.75rem;margin-top:1rem;', // 上传后样式
            extraCssStyle:"margin-left:0;",
            leftIconCssStyle: "width:1.8rem;height:1.8rem;margin-bottom:0.75rem;",
            leftIcon: '../../../assets/icon/choose-img.png', // + 图片配置
            editCssStyle:"font-size: 0.75rem;color: #222222;", // 删除文字样式
            extra: '上传附件',
            max: 10,// 文件大小限制 MB
            rules: [{
              name: 'required',
              value: true,
              message: "请选择文件"
            }]
          },
          {
            cssStyle: '',
            formType: "chooseHours",
            label: "服务时间",
            labelCssStyle: '',
            placeHolder: "请选择",
            showValue: "",
            valueCssStyle: "", // 数量样式
            subHtmlObj: [
              {
                formType: "chooseHourItem",
                formKey: "startH",
                value: "",
              },
              {
                formType: "chooseHourItem",
                formKey: "endH",
                value: "",
              }
            ],
            children: [
              {
                label: '06:00', // 06:00 - 20:00
                value: '06:00',
                children: [
                  {
                    label: '08:00',
                    value: '08:00',
                    children: []
                  },
                  {
                    label: '09:00',
                    value: '09:00',
                    children: []
                  },
                ]
              },
              {
                label: '07:00',
                value: '07:00',
                children: [
                  {
                    label: '09:00',
                    value: '09:00',
                    children: []
                  },
                  {
                    label: '10:00',
                    value: '10:00',
                    children: []
                  },
                ]
              },
            ]
          },
          {
          cssStyle: '',
          formType: "pickerSelectDate",
          formKey: "pickerDate",
          maxSize: 30, // 天数范围
          label: "面试时间",
          labelCssStyle: '',
          placeHolder: "请选择",

          showValue: "",
          valueCssStyle: "font-weight: bold;",
          value: '',
          children: [
            {
              label: '随时可面',
              value: '随时可面',
              children: [
              ]
            }, {
              label: '4月6日（今天）',
              value: '4月6日（今天）',
              children: [
                {
                  label: '上午',
                  value: '上午',
                  children: []
                },
                {
                  label: '下午',
                  value: '下午',
                  children: []
                },
              ]
            }]
          },
          {
                formType: "pickerSelectDesign", //
                formKey: "district_design",
                placeHolder: "请选择",
                label: "房屋城市",
                value: "", // , 拼接id
                data: [
                  {
                    label: "广东",
                    value: "440303",
                    children: [{
                      label: "罗湖区",
                      value: "440303",
                      children: [
                        {
                          label: "蔡屋围",
                          value: "44030301",
                          children: null
                        },
                        {
                          label: "国贸",
                          value: "44030302",
                          children: null
    
                        }]
                    },
                    {
                      label: "福田区",
                      value: "440304",
                      children: [
                        {
                          label: "上啥",
                          value: "44030401",
                          children: null
                        },
                        {
                          label: "下沙",
                          value: "44030403",
                          children: null
                        }]
                    }]
                  },
                  {
                    label: "广西",
                    value: "450301",
                    children: []
                  },
                ],
    
                rules: [
                ]
              },
                            {
                formType: "pickerSelectJoin",
                formKey: "district_join",
                labelCssStyle: 'color: #401406',
                valueCssStyle: 'color: #401406',
                cssStyle: 'background: #E6755C',
                sepCssStyle: 'background: #A12B12',
                placeholderCssStyle: 'color: #8C3215',
                placeHolder: "请选择",
                label: "服务城市pickerSelectJoin",
                endIcon: 'http:',
                value: "", // , 拼接id
                data: [
                  {
                    label: "广东",
                    value: "440303",
                    children: [{
                      label: "罗湖区",
                      value: "440303",
                      children: [
                        {
                          label: "蔡屋围",
                          value: "44030301",
                          children: null
                        },
                        {
                          label: "国贸",
                          value: "44030302",
                          children: null
    
                        }]
                    },
                    {
                      label: "福田区",
                      value: "440304",
                      children: [
                        {
                          label: "上啥",
                          value: "44030401",
                          children: null
                        },
                        {
                          label: "下沙",
                          value: "44030403",
                          children: null
                        }]
                    }]
                  },
                  {
                    label: "广西",
                    value: "450301",
                    children: []
                  },
                ],
    
                rules: [
                ]
              },
              {
                formType: "pickerSelectBtn",
                formKey: "district_design",
                showValue: "generalSubmit", // 表单内部 提交Submit showValue = "generalSubmit" 表示通用提交，
                submit: {
                  id: "",
                  content: {
    
                  },
                  formKey: "isJsonArray"
                },
    
                placeHolder: "请选择",
                label: "选择其他地址",
                value: "", // , 拼接id
                cssStyle: 'height: 2.75rem;background: linear-gradient(135deg, #FFDE3B 0%, #FFC933 100%);border-radius: 3rem;margin: 0.75rem 1rem;text-align: center;',
                data: [
                  {
                    label: "广东",
                    value: "440303",
                    children: [{
                      label: "罗湖区",
                      value: "440303",
                      children: [
                        {
                          label: "蔡屋围",
                          value: "44030301",
                          children: null
                        },
                        {
                          label: "国贸",
                          value: "44030302",
                          children: null
    
                        }]
                    },
                    {
                      label: "福田区",
                      value: "440304",
                      children: [
                        {
                          label: "上啥",
                          value: "44030401",
                          children: null
                        },
                        {
                          label: "下沙",
                          value: "44030403",
                          children: null
                        }]
                    }]
                  },
                  {
                    label: "广西",
                    value: "450301",
                    children: []
                  },
                ],
    
                rules: [
                ]
              },

          {
            formType:"dragSort",
            disabled:false, // 为true时不可以排序
            formKey:"",
            label:"蜂喔",
            lines:"none",
            tips:"长按上下拖动位置",
            icon:'http://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677053155549cecf62193e5436cc6cd6711c87e10dad.png',
            showIndex: -1, // 表示第几项是选中状态 默认-1
            valueNCssStyle:"",// 配置图标外框大小 间距
            iconCssStyle:"",// 图标的大小
            placeholderCssStyle:"",// 滑动分页page框样式
            cssStyle:'',
            valueCssStyle:'',
            extra:'找客服',
            extraCssStyle:'',
            endIcon:'http://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677053155549cecf62193e5436cc6cd6711c87e10dad.png', // 信息分类下 客服头像
            endIconCssStyle:'', // 信息分类下 客服头像样式
            itemList: [{ label: "好货",},
            { label: "店铺", },
            { label: "服务", },
            { label: "信息",  },
            { label: "活动",  },
          ]
          },
          {
            formType:"switchButtonLJ",
            disabled:true,
            formKey:"",
            label:"蜂喔",
            eventName: 'getTitle',
            lines:"none",
            labelCssStyle:'flex-direction: column;',
            extraCssStyle:'font-weight: 600;font-size: 1rem;',
            // 请更换背景图地址
            cssStyle:'height: 5.5rem;text-align: center;padding 0 1.5rem;background-image: url("http://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677053155549cecf62193e5436cc6cd6711c87e10dad.png");background-repeat: no-repeat;background-position: center;background-size: 100%;',
            valueCssStyle:'justify-content: space-between;width: 100%;font-size: 1rem;color: #666666;padding:0 1.5rem;margin-top: 0.5rem;',
            itemList: [{ label: "好货",},
            { label: "店铺", },
            { label: "服务", },
            { label: "信息",  },
            { label: "活动",  },
          ]
          },
          {
            eventName: 'sendTitle',
            formType:"textInput",
            lines:"none",
            formKey:"shopName",
            label:"商城名称",
            placeHolder:"蜂喔",
            value:"蜂喔",
            cssStyle:'height: 3.5rem;background: #F5F5F5;border-radius: 0.5rem;padding: 0 1rem;margin-top:1.5rem',
            labelCssStyle:'font-size: 1rem;color: #171A1D;',
            valueCssStyle:'font-size: 1rem;color: #171A1D;font-weight: bold;text-align: right;',
            placeholderCssStyle:"color: #B3B3B3;",
          },
          {
            formType: "switchButtonJoin",
            label: "",
            formKey: "switchButtonJoin",
            multiSelect: false,
            value: '',
            cssStyle:'padding: 0.38rem 1rem 1rem 1rem',
            background:"flex-direction:column;max-height:16rem;overflow:scroll",
            placeholderCssStyle:"flex-direction:row;padding:0.81rem 0.75rem 0.75rem 0rem;margin-right: 0;margin-bottom: 0.5rem;align-items:flex-start;border: 0.06rem solid #EDEDED;box-shadow:unset",
            iconCssStyle:"width: 7.5rem;height: 5.63rem;border-radius: 0.25rem;margin-left:2.75rem;flex-shrink: 0;margin-top: 0;margin-right: 0.75rem;", // 主图
            icon: "/assets/icon/release_icon_unchecked@3x.png", // 未勾选图
            iconOn: "/assets/icon/quick_release_checked_lj@3x.png", // 勾选图
            leftIconCssStyle:"width: 1.25rem;height: 1.25rem;left:0.75rem;top: 3rem;", // 勾选图样式
            labelCssStyle:"font-weight: bold;font-size: 0.88rem;color: rgb(34, 34, 34);line-height: 1.25rem;text-align: left;display: flex;flex-direction: column;justify-content: space-between;height: 5.63rem;",
            labelTagCssStyle:"ont-weight: bold;font-size: 0.88rem;color: #222222;line-height: 1.25rem;text-align: left;",
            itemList: [
              {
                label: "<span style='display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;'>全屋家居私人定40-200平米都适用，专业施工</span>",
                value: "0",
                icon: "../../../assets/icon/release_icon_contact@3x.png",
                tagLabel:"<span style='margin-bottom: 0.38rem;display: block;color: #FF660D;'>10-30万</span>",

                check: false
              }, {
                label: "<span style='display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;'>全屋家居私人定40-200平米都适用，专业施工</span>",
                value: "2",
                tagLabel:"<span style='margin-bottom: 0.38rem;display: block;color: #FF660D;'>10-30万</span>",
                icon: "../../../assets/icon/release_icon_contact@3x.png",

                check: true
              },
              {
                label: "<span style='display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;'>全屋家居私人定40-200平米都适用，专业施工</span>",
                value: "3",
                tagLabel:"<span style='margin-bottom: 0.38rem;display: block;color: #FF660D;'>10-30万</span>",
                icon: "../../../assets/icon/release_icon_contact@3x.png",

                check: false
              },
            ],
            rules: [
            ],
          },
          {
            formType: "sendRecAddress",
            disabled:false,
            subHtmlObj: [
                  {
                    formType: "sendAddress",
                    formKey: 'sendManPrintAddr', // 发件人完整地址
                    formKeys: 'sendManName;sendManMobile', // 发件人姓名;发件人电话
                    placeHolder: "请填写寄件人姓名、号码、地址信息",
                    label:"寄件人信息",
                    leftIcon:"https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png",
                    value: "",
                    disabled:false,
                    showSureBtn: true,
                    link: {
                      type: 'page',
                      params: {

                      },
                      target: '200847' // 地址列表
                    },
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "请填写寄件人姓名、号码、地址信息"
                      }
                    ],
                    subHtmlObj:[
                      {

                        formType:"paresAddress",
                        formKey: "paresAddress",
                        placeHolder: "请粘贴地址信息，自助识别",
                        itemList: [
                          // label 为自动识别返回的属性名称「「不可以修改！！」」， value请设置对应的数据库需要的字段名（需要自动填充的项目的字段名）
                          {
                            label: "area",// 区域名称
                            value: '**_area',// 数据库字段名称
                          },
                          {
                            label: "city", // 城市名称
                            value: '**_city',
                          },
                          {
                            label: "code", // 城市区域code
                            value: 'code',
                          },
                          {
                            label: "details", // 详细地址
                            value: 'sendManPrintAddr',
                          },
                          {
                            label: "mobile", // 手机号码
                            value: 'sendManMobile', 
                          },
                          {
                            label: "name", // 姓名
                            value: 'sendManName',    // 
                          },
                          {
                            label: "phone", // 座机号码
                            value: '',    // 不需要的不用配置value
                          },
                          {
                            label: "province", // 省名称
                            value: '', // 不需要的不用配置value
                          }
                        ]
                      },
                      {
                        formType:"textInput",
                        formKey:"sendManName",
                        label:"寄件人姓名",
                        subHtmlObj:[{
                          formType:"textInput",
                          formKey:"sendManMobile",
                          label:"寄件人手机"
                        }]

                      },

                      {
                        formType:"textAreaLines",
                        formKey:"sendManPrintAddr",
                        placeHolder: "请填写详情地址",
                        valueCssStyle:"width:100%;padding-top:0.75rem",
                        label:"寄件地址"
                      }
                    ]
                  },
                  {
                    disabled:false,
                    formType: "recAddress",
                    formKey: 'recManPrintAddr', // 收件人完整地址
                    formKeys: 'recManName;sendManMobile', // 收件人姓名;发件人电话
                    placeHolder: "请填写收件人姓名、号码、地址信息",
                    leftIcon:"https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png",
                    label:"收件人信息",
                    value: "",
                    showSureBtn: true,
                    link: {
                      type: 'page',
                      params: {},
                      target: '200847' // 地址列表
                    },
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "请填写收件人姓名、号码、地址信息"
                      }
                    ],
                    subHtmlObj:[
                      {
                        formType:"paresAddress",
                        formKey: "paresAddress",
                        placeHolder: "请粘贴地址信息，自助识别",
                        itemList: [
                          // label 为自动识别返回的属性名称「「不可以修改！！」」， value请设置对应的数据库需要的字段名（需要自动填充的项目的字段名）
                          {
                            label: "area",// 区域名称
                            value: '**_area',// 数据库字段名称
                          },
                          {
                            label: "city", // 城市名称
                            value: '**_city',
                          },
                          {
                            label: "code", // 城市区域code
                            value: 'code',
                          },
                          {
                            label: "details", // 详细地址
                            value: 'recManPrintAddr',
                          },
                          {
                            label: "mobile", // 手机号码
                            value: 'recManMobile', 
                          },
                          {
                            label: "name", // 姓名
                            value: 'recManName',    // 
                          },
                          {
                            label: "phone", // 座机号码
                            value: '',    // 不需要的不用配置value
                          },
                          {
                            label: "province", // 省名称
                            value: '', // 不需要的不用配置value
                          }
                        ]
                      },
                      {
                        formType:"textInput",
                        formKey:"recManName",
                        label:"收件人姓名",
                        subHtmlObj:[{
                          formType:"textInput",
                          formKey:"recManMobile",
                          label:"收件人手机"
                        }]
                      }
                      ,
                      {
                        formType:"textAreaLines",
                        formKey:"recManPrintAddr",
                        placeHolder: "请填写详情地址",
                        valueCssStyle:"width:100%;padding-top:0.75rem",
                        label:"收件地址"
                      }
                    ]
                  },
                ]
          },

          {
            formType: "selectAddress1",
            cssStyle: "margin-top:0.5rem;padding:0",
            formKey: "xzdi11",
            label: "取件地址",
            placeholderCssStyle: "position: absolute;left: 0;top: 3rem;",
            labelCssStyle: "font-size: 0.88rem;color: #222222;flex-shrink:0;margin-left:0;flex-grow:1;",
            showValueCssStyle: "font-size: 0.88rem;font-weight: bold;line-height: 1.25rem;color: #222222;text-align:left;",
            tipsCssStyle: "text-align:left;font-size: 0.75rem;",
            itemListCssStyle: "align-items:baseline", // 可以修改行高度
            placeHolder: "",
            value: 0,
            showValue: '',
            tips: '',
            submit: {
              id: "64a743a9-7739-4338-b125-c7d2d5141290",
              isDisabled: false,
              content: {

              },
            },
            // leftIcon: 'http://icon.png',
            // disabled: false,
            showData: {
              label: "广东省深圳市南山区粤海街道公园B座2101",
              // icon: "1",
              tips: "明月心 13632505539",
              value: 1,

            },
            data: [
              {
                label: "广东省深圳市南山区粤海街道公园B座2101",
                // icon: "1",
                tips: "",
                value: 1,
                link: {
                  type: 'page',
                  params: {},
                  target: '116829'
                },

              },
              {
                label: "添加地址",
                icon: "",
                tips: "",
                value: 0,
                link: {
                  type: 'page',
                  params: {},
                  target: '116826'
                },
              },


            ],
            rules: [
              {
                name: 'required',
                value: false,
                message: "请选择"
              }
            ]
          },
          {
            formType: "bottomModalOfMoreItemsFW",
            label: "请选择取货时间", // 弹窗title用
            tips: "期望上面时间", // 占左边位置 == label
            showLabel: true,
            placeHolder: "请选择取货时间",
            labelCssStyle:'font-weight: bold;font-size: 1.13rem;color: #222222;line-height: 1.56rem;text-align: left;position: relative;z-index: 2;flex-grow:1;margin-left:-0.25rem;',
            // usePlaceHolderAsTitle:'true',
            useLabelCssAsTitleCss: 'true', // 新增的 不配置 不返还该属性。
            showSearchModal: false,
            hasAddNew: false, // 默认 true， 表示可以新增
            showIndex: 1, // 表示要显示第几个子项的值
            modalCssStyle: "bottom", // 底部弹窗
            showSureBtn: true,
            // leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
            endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
            // leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
            endIcon:  'http://右边箭头', // 请配置 右边箭头http：
            cssStyle: "font-size: 1rem;height: 55px;align-items: center;display: flex;padding: 0.25rem 0; margin: 0 1rem;or;border: none;space-between;border-bottom: solid 0.04rem #ebebeb;box-shadow:none;border-radius:0;",
            valueCssStyle: "font-size: 1rem;color: #222222;;line-height: 1.13rem;position: relative;z-index: 2;display: flex;flex-direction: column;flex-grow:1;text-align:right;",
            placeholderCssStyle: "font-size: 1rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1;text-align:right;",

            subHtmlObj: [
              {
                formType: "sectionDesc",
                label: "超过19:00自动预约第二天",
                labelCssStyle: "width:100%",
                cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1rem;padding-top:0;background: #FFFFFF;"

              },
              {
                formType: "chooseTimeRange",
                formKey: "dayType",
                formKeys: "pickupStartTime;pickupEndTime",
                itemListCssStyle: "", // 没有选中时的框
                itemListCheckedCssStyle: "", // 有选中时的框
                label: "",
                value: '', // 2022-05-05 08:00-09:00
                valueCssStyle: "", // 选中 字
                placeholderCssStyle: ";", // 没有选中 字
                multiSelect: true,
                maxSize: 3, // 天数范围
                minSize: 0, // 当天从0 开始 默认 0
                min: 0, // 从当前时间开始往后多个小时开始显示为有效时间
                max: 19, // 截止最大时间
                sep: 2, // 时间间隔
                extra: "0", // 0 不显示 "上午 下午 晚上"
                showValue: '',
                daysList: [ // 本地控制
                  //   {
                  //   label: "5月5日(今天)",
                  //   value: '2022-05-05',
                  //   check: true
                  // },
                  // {
                  //   label: "5月6日(明天)",
                  //   value: '2022-05-06',
                  //   check: false,
                  // }
                ],
                itemList: [  // 本地控制 时间
                  //   {
                  //     label: "8:00-9:00",
                  //     value: '08:00-09:00',
                  //     check: true
                  //   },
                  //   {
                  //     label: "8:00-9:00",
                  //     value: '08:00-09:00',
                  //     check: false
                  //   },
                ]
              }

            ]
          },
          {
            formType: "switchButtonKD",
            formKey: "wy13",
            itemListCssStyle: "", // 没有选中时
            itemListCheckedCssStyle: "", // 有选中时
            label: "快递选择",
            value: '',
            valueCssStyle: "", // 选中 字
            placeholderCssStyle: "", // 没有选中 字
            valueNCssStyle: "", // 选中 价格
            placeholderNCssStyle: "", //  没有选中 字价格
            extraCssStyle: "", // 单位样式
            multiSelect: false,
            showValue: '',
            submit: {
              id: "**",
              content: {
                kuaidiCom:'shentong',
                sendManPrintAddr:"",
                recManPrintAddr:"",
                weight:"1",
                serviceType:"标准快递"
              },
            },
            itemList: [

              {
                unit: "￥",
                valueN: "14", // 快递价格
                label: "申通", // 快递名称
                value: 'shentong', // 快递编码
                icon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png",
                check: true
              },
              {
                unit: "￥",
                valueN: "9", // 快递价格
                label: "圆通", // 快递名称
                value: 'yuantong', // 快递编码
                icon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png",
                check: false
              },
              {
                unit: "￥",
                valueN: "15", // 快递价格
                label: "韵达", // 快递名称
                value: 'yunda', // 快递编码
                icon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png",
                check: false
              },
            ]
          },
          {
            formType: "selectCertificates",
            label: "店铺证件<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
            placeHolder: "选择和修改",
            formKey: "selectCertificates1",
            multiSelect: false,
            value: '1',
            delete: true, // 显示del
            lines:"none",
            valueCssStyle:"flex:1",
            showValue:"选择和修改",
            link: {
              type: "page",
              params: {
                  
              },
              target: '10000' // 证件列表page
            },
            itemList:[
              {label:"营业执照" , "value":"https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png"},
              {label:"资质" , "value":"https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png"} ],

            rules: [
            ],
            
          },
          {
            formType: "switchButtonFW_31",
            formKey: "wy11",
            label: "选择您需要的服务",
            value: '',
            multiSelect: true,

            showValue: '',
            itemList: [

              {
                label: "日常清洁",
                value: '1',
                icon: "http",
                check: true
              },
              {
                label: "家具清洁",
                value: '2',
                icon: "http",
                check: false,

              },
              {
                label: "电器清洁",
                value: '3',
                icon: "http",
                check: false
              }
            ],

            rules: [
            ]
          }],
        htmlObj: 
        [ {
          formType: "uploadIdentityWidget",
          label: "身份证照",
          subHtmlObj: [
            {
              // disabled: true,
              formKey: "identityFront",
              defaultImage: "../../../assets/img/authentication_img_positive@3x.png",
              placeHolder: "点击上传带头像一面",
              value: "",
              label: "正面照",
              fileType: '',
              fileId: '',
              valueN: 'waterMark',
              cropperRatio:  1.6, // 宽比高 比例值
              allowCropper: true, // 开启裁剪
              rules: [
                {
                  name: 'required',
                  value: false,
                  message: "请上传带头像一面身份证照"
                }
              ]
            },
            {
              formKey: "identityBack",
              valueN: 'waterMark',
              cropperRatio:  1.6, // 宽比高 比例值
              allowCropper: true, // 开启裁剪
              // disabled: true,
              defaultImage: "../../../assets/img/authentication_img_verso@3x.png",
              placeHolder: "点击上传带国辉一面",
              value: "",
              label: "反面照",
              fileType: '',
              fileId: '',
              rules: [
                {
                  name: 'required',
                  value: false,
                  message: "请上传带国辉一面身份证照"
                }
              ]
            },
            {
              formKey: "identityHold",
              valueN: 'waterMark',
              cropperRatio:  1.6, // 宽比高 比例值
              allowCropper: true, // 开启裁剪
              defaultImage: "../../../assets/img/authentication_img_whole body@3x.png",
              placeHolder: "点击上传手持一面",
              value: "",
              label: "手持身份证照",
              rules: [
                {
                  name: 'required',
                  value: false,
                  message: "请上传手持身份证照"
                }
              ]
            }
          ]
        },
          {
            formType:"paresAddress",
            formKey: "paresAddress",
            placeHolder: "请粘贴地址信息，自助识别",
            itemList: [
              // label 为自动识别返回的属性名称「「不可以修改！！」」， value请设置对应的数据库需要的字段名（需要自动填充的项目的字段名）
              {
                label: "area",// 区域名称
                value: '**_area',// 数据库字段名称
              },
              {
                label: "city", // 城市名称
                value: '**_city',
              },
              {
                label: "code", // 城市区域code
                value: 'code',
              },
              {
                label: "details", // 详细地址
                value: '**_details',
              },
              {
                label: "mobile", // 手机号码
                value: '**_mobile', 
              },
              {
                label: "name", // 姓名
                value: '**_name',    // 
              },
              {
                label: "phone", // 座机号码
                value: '',    // 不需要的不用配置value
              },
              {
                label: "province", // 省名称
                value: '', // 不需要的不用配置value
              }
            ]
          },
          {
            formType: "selectCertificates",
            label: "店铺证件<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
            placeHolder: "选择和修改",
            formKey: "showCertificates",
            multiSelect: false,
            value: '',
            lines:"none",
            valueCssStyle:"flex:1",
            showValue:"选择和修改",
            link: {
              type: "page",
              params: {
                  
              },
              target: '10000' // 证件列表page
            },
            itemList:[
              {label:"营业执照" , "value":"https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png"},
              {label:"资质" , "value":"https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png"} ],

            rules: [
            ],
            
          },
          {
            formType: "switchButtonLJ",
            label: "租金约LJ",
            formKey: "modifyShopName",
            multiSelect: false,
            value: '',
            itemList: [
              {
                label: "填写",
                value: "0",
                check: false
              },
              {
                label: "面议",
                value: "1",
                check: false
              }
            ],
            rules: [
            ],
            subHtmlObj: [
              {
                compare: false,
                formType: "textInputLJ",
                hidden: false,
                showCondition: "0",
                formKey: "company_name4",
                rules: [
                  {
                    name: "pattern",
                    message: "请填写正确的面积",
                    value: ".{0,50}"
                  },
                  {
                    name: "required",
                    message: "请填面积",
                    value: "true"
                  }
                ],
                labelCssStyle: 'font-size:1rem',
                label: "面积LJ",
                extra: "平米",
                maxLength: 3,
                placeHolder: "请填写"
              },
              {
                formType: "singleColumnSelectLJ",
                formKey: 'rent_uint',
                placeHolder: "请选择",
                value: 0,
                showValue: '',
                data: [
                  {
                    type: 'value',
                    label: "元/月",
                    value: 1
                  },
                  {
                    type: 'value',
                    label: "元/天",
                    value: 2
                  },
                  {
                    type: 'value',
                    label: "元/年",
                    value: 3
                  }
                ],
                rules: [{
                  name: 'required',
                  value: true,
                  message: "请选择租金单位"
                }]
              },
              {
                formType: "radioButtonLJ",
                label: "主卧LJ",
                formKey: "modifyShopName",
                value: '',
                itemList: [
                  {
                    label: "主卧",
                    check: false
                  },
                  {
                    label: "次卧",
                    value: 0,
                    check: true
                  }
                ],
                rules: [
                ]
              },

              {
                formType: "areaSlotLJ",
                label: "",
                compare: true,
                lessTip: "", //  最大值小于最小值时提示
                equalTip: "", // 最大值等于最小值时提示
                // extra: '平米', // 不能与动态单位选择共存
                canEqual: true, // 是否可以相等
                subHtmlObj: [
                  {
                    formType: "area",
                    formKey: 'min_area',
                    placeHolder: "最小",
                    value: "",
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "请填写最小面积"
                      }
                    ],
                  },
                  {
                    formType: "area",
                    formKey: 'max_area',
                    placeHolder: "最大",
                    value: "",
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "填写最大面积"
                      }
                    ]
                  },
                  { //  注意顺序
                    formType: "singleColumnSelect",
                    formKey: 'rent_uint',
                    value: 1,
                    showValue: '元/月',
                    data: [
                      {
                        type: 'value',
                        label: "元/月",
                        value: 1
                      },
                      {
                        type: 'value',
                        label: "元/天",
                        value: 2
                      },
                      {
                        type: 'value',
                        label: "元/年",
                        value: 3
                      }
                    ],
                    rules: [{
                      name: 'required',
                      value: true,
                      message: "请选择租金单位"
                    }]
                  }
                ]
              },
            ]
          },
          {
            showValue: "",
            formType: "passwordType",
            label: "",
            formKey: "passw111",
            placeHolder: "",
            textType: "number", // text /phone /number password 其他标准 html input type 类型
            value: '',
            valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
            // disabled: false, // 是否禁用
            delete: false,  //
            tips: "",
            extra: "",
            rules: [{
              name: 'required',
              value: false,
              message: ""
            }],
          },
              {
                eventName: "getDateTime",
                formType: "bottomModalOfMoreItemsFW",
                tips: "分类",
                label: "选择分类",
                labelCssStyle:'font-weight: bold;font-size: 1.13rem;color: #222222;line-height: 1.56rem;text-align: left;position: relative;z-index: 2;flex-grow:1;margin-left: -0.25rem;',
                // usePlaceHolderAsTitle:'true',
                useLabelCssAsTitleCss: 'true', // 新增的 不配置 不返还该属性。
                showLabel: true,
                placeHolder: "请选择",
                showSearchModal: false,
                hasAddNew: false, // 默认 true， 表示可以新增
                showIndex: 0, // 表示要显示第几个子项的值
                modalCssStyle: "bottom", // 底部弹窗
                showSureBtn: true,
                // leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
                endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
                // leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
                endIcon:  'http://右边箭头', // 请配置 右边箭头http：
                cssStyle: "font-size: 1rem;height: 55px;align-items: center;display: flex;padding: 0.25rem 0; margin: 0 1rem;or;border: none;space-between;border-bottom: solid 0.04rem #ebebeb;box-shadow:none;border-radius:0;",
                valueCssStyle: "font-size: 1rem;color: #222222;;line-height: 1.13rem;position: relative;z-index: 2;display: flex;flex-direction: column;flex-grow:1;text-align:right;",
                placeholderCssStyle: "font-size: 1rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1;text-align:right;",
                subHtmlObj: [
                  {
                    formType: "showSingleSelect",
                    formKey: "inform2",
                    cssStyle: "margin-top:1.5rem", //
                    
                    label: "",
                    value: "",
                    itemList: [
                      {
                        label: "默认分类",
                        value: "0",
                        check: false,
                      },
                      {
                        label: "特价商品",
                        value: "1",
                        check: false
                      },
                    ],
                    rules: [
                    ],
                    subHtmlObj: [
                      {
                        formType: "addType",
                        formKey: 'addTypeKey',
                        textType: 'text',
                        icon:'http:', // 添加+ 图标
                        leftIcon: "http:",
                        leftIconCssStyle: "",
                        endIcon: "http:", // 右边输入确认图标
                        endIconCssStyle: "",
                        placeHolder: "新增分类",
                        butSubmit: {
                          isManualBinding: false,
                          doEventFirst: false,
                          isScript: false,
                          id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                          isDisabled: false,
                          key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                        },
                        value: '',
                        rules: [{
                          name: 'required',
                          value: true,
                          message: "请选择图片"
                        }]
                      }],
                  },
                ]
        },
        
        {
          eventName: "getDateTime",
          formType: "bottomModalOfMoreItemsFW",
          tips: "报名截止时间<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
          label: "快速选择时间",
          labelCssStyle:'font-weight: bold;font-size: 1.13rem;color: #222222;line-height: 1.56rem;text-align: left;position: relative;z-index: 2;flex-grow:1;margin-left: -0.25rem;',
          // usePlaceHolderAsTitle:'true',
          useLabelCssAsTitleCss: 'true', // 新增的 不配置 不返还该属性。
          showLabel: true,
          placeHolder: "请选择",
          showSearchModal: false,
          hasAddNew: false, // 默认 true， 表示可以新增
          showIndex: 0, // 表示要显示第几个子项的值
          modalCssStyle: "bottom", // 底部弹窗
          showSureBtn: true,
          // leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
          endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
          // leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
          endIcon:  '右边箭头http', // 请配置 右边箭头http：
          cssStyle: "font-size: 1rem;height: 55px;align-items: center;display: flex;padding: 0.25rem 0; margin: 0 1rem;or;border: none;space-between;border-radius: 0.5rem 0.5rem 0px 0px;border-bottom: solid 0.04rem #ebebeb;",
          valueCssStyle: "font-size: 1rem;color: #0F0F0F;line-height: 1.13rem;position: relative;z-index: 2;display: flex;flex-direction: column;flex-grow:1;text-align:right;",
          placeholderCssStyle: "font-size: 1rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1;text-align:right;",
          subHtmlObj: [
            {
              
                formType: "richTextEdit2",
                formKey: 'richTextEdit2',
                label: "",
                labelCssStyle: "font-size: 1rem;font-weight: bold;color: #000000;line-height: 1.38rem;padding:0 1.25rem;",
                // valueCssStyle: "width:100%;height:15rem",
                valueCssStyle: "width:100%;height:80vh;"  ,
                placeHolder: "请填写",
                showValue: '10',
                maxSize: 55 // 0x37 屏蔽图片选择
              },
              {
                formType: "datePickerLJ",
                formKey: "time1",
                label: "",
                tips:'面谈时间',
                placeHolder: "请选面谈时间",
                mode: "date",
                value: "",
                tipsCssStyle:'color:red;',
                leftIconCssStyle:'',// 左边icon通过样式配置背景图
                valueCssStyle:"text-align:right;color:red;margin-right:0.35rem;",// 选择时间后的样式
                placeholderCssStyle:"text-align:right;margin-right:0.35rem;",
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择面谈时间",
                  }
                ],
    
              },
              {
                showSureBtn:true,
                formType:"addServiceSpecification",
                formKey: "addSpkey",
                value: "",
                label: "添加收费服务",
                labelCssStyle:"height: 3.75rem;background: linear-gradient(180deg, #FFF9E6 0%, #FFFFFF 100%);border-radius: 0.75rem 0.75rem 0rem 0rem;display: flex;align-items: center;justify-content: space-between; ",
                extra: "添加收费服务",
                leftIcon:'http://', // 添加icon
                endIcon:'http://',// 删除icon
                cssStyle: "",
                leftIconCssStyle: "", // 图标的样式 
                itemListCssStyle: "", // 整行样式
                showValueCssStyle: "", // 内容样式
                valueCssStyle: "", // 价格样式
                extraCssStyle: '', // 添加按钮样式
                modalCssStyle:"margin:auto 1.69rem;overflow: hidden;border-radius: 0.69rem;",
                itemList:[],
                subHtmlObj: [
                  {
                    showValueCssStyle: "background: white;width: auto;margin: 0 0.75rem;",
                    cssStyle: "--padding-satrt: 0.75rem;",
                    label: "填写名称1",
                    formType: "textAreaLJ",
                    formKey: "",
                    maxLength: 50, // 必须 显示字数统计
                    value: '',
                    hasBorder: true,
                    placeHolder: "请填写",
                    
                    rules: [
                      {
                        name: 'required',
                        value: false,
                        message: "请填写",
                      }
                    ]
        
                  },
                
                  {
                    label: "设置价格1",
                    formType: "textInputLJ",
                    textType: "number",
                    extra: "元",
                    valueCssStyle: 'font-size:1rem;font-weight:normal;',
                    extraCssStyle: "font-size: 1rem;color: #999999;",
                    rules: [
                      {
                        name: "required",
                        message: "请填写",
                        value: "true"
                      }
                    ],
                    placeHolder: "请填写"
                  }
                ],
    
              },
              {
                showErrorStyle:false, // 默认false 或者不返 为true显示错误状态样式
                compare: false,
                formType: "textInput",
                hidden: false,
                extra: '平米',
                formKey: "area",
                rules: [
                  {
                    name: "pattern",
                    message: "请填写正确的面积",
                    value: ".{0,50}"
                  },
                  {
                    name: "required",
                    message: "请填面积",
                    value: "true"
                  }
                ],
                label: "面积",
                maxLength: 20,
                placeHolder: "请填写"
              },
              {
                formType: "showSingleSelect",
                formKey: "inform",
                label: "",
                value: "",
                leftIconCssStyle: "position: absolute;right:0;margin-right:0.1rem;top:0.69rem", // 勾选图标的样式 
                placeholderCssStyle: "display: flex;align-items: center;position:relative;flex-wrap:wrap;", // 未选择整行样式
                itemListCheckedCssStyle: "display: flex;align-items: center;position:relative;flex-wrap:wrap;", // 选择整行样式
                itemListIconCssStyle: "width:2rem;height:2rem;margin-right:0.75rem;", // 左边图片样式
                
                showValueCssStyle: "font-size: 1rem;font-weight:bold;color: #222222;line-height: 1.38rem;", // 第一行字
                valueNCssStyle: "font-size:0.75rem;color: #999999;line-height: 1rem;", // 第二行字
                extraCssStyle: 'flex-basis:80%;', // 中间两行文字
                itemList: [
                  {
                    icon: "http",
                    label: "个人入驻",
                    value: "1",
                    valueN: "个人、个体户或公司职员选择本项",
                    check: false,
                  },
                  {
                    icon: "http",
                    label: "个体户入驻",
                    value: "2",
                    valueN: "员工、业绩统一管理",
                    check: false,
                    formObj: [ //  新增 在选项中增加表单项目
                      {
                        cssStyle: "height: 2.5rem;background: #F5F5F5;border-radius: 0.38rem;margin-top: 1rem;padding: 0 0.69rem;flex: auto;margin-left:0;margin-right:0;",
                        formType: "textInput",
                        label: "",
                        formKey: "name1",
                        placeHolder: "请完整企业名称",
                        textType: "text", //
                        value: '',
                        // disabled: false, // 是否禁用
                        delete: false,  // 属性 是可以清除已有的值 删除后可以提交空值
                        tips: "", // 提示
                        rules: [{
                          name: 'required',
                          value: false,
                          message: ""
                        }]
                      },
    
                    ]
                  },
                ],
                rules: [
                ],
              },
              {
                formType: "checkBox",
                formKey: "choose1",
                label: "身份证有效期",
                // label: "撮合议价，协助成交",
                // showValue: "500元",
                // tips: "人工服务",
                extra: "长期有效",
                cssStyle: "border:none;justify-content:start;padding-left:0;",
                endIconCssStyle: "margin:0 0.5rem",
                labelCssStyle: "",
                value: '0',
                rules: [
                ],
                subHtmlObj: [
                  {
                    formType: "timeSlot",
                    showCondition: "0",
                    label: "有效期<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
                    compare: false,
                    lessTip: "", //  最大值小于最小值时提示
                    equalTip: "", // 最大值等于最小值时提示
                    mode: "date",
                    subHtmlObj: [
                      {
                        formType: "time",
                        valueCssStyle: "padding:0.35rem;1.25rem;height:auto;",
                        formKey: 'operate_begin_time1',
                        value: "",
                        showValue: '',
                        placeHolder: "开始日期",
                        rules: [
                          {
                            name: 'required',
                            value: true,
                            message: "设置开始时间"
                          }
                        ],
                      },
                      {
                        placeHolder: "到期日期",
                        valueCssStyle: "padding:0.35rem;1.25rem;margin-left:1rem;height:auto;",
                        formType: "time",
                        formKey: 'operate_end_time1',
                        value: "",
                        showValue: '',
                        rules: [
                          {
                            name: 'required',
                            value: true,
                            message: "设置开始时间"
                          }
                        ]
                      }
                    ]
                  },
                ]
              },
    
              {
                formType: "selectBank",
                cssStyle: "margin-top:0.5rem;padding:0.75rem 1rem",
                formKey: "bank_code",
                formKeys: "bank_name",
                label: "支行名称",
                labelCssStyle: "flex-basis:31%",
                showValueCssStyle: "",
                itemListCssStyle: "align-items:baseline", // 可以修改行高度
                placeHolder: "请选择支行",
                value: 0, // code
                showValue: '', // 支行名称
                endIcon: "http:png",
                endIconCssStyle: "",
    
                link: {
                  type: "searchInput",
                  params: {
                      bank_num_name: "",
                      placeholder: "请输入关键字"
                  },
                  target: '177155'
                },
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择"
                  }
                ]
              },
              {
    
                formType: "fourLevelAddress",
                label: "地址",
                formKey: "fourLevelAddress",
                formKeys: "addressList", // 应当要加一个字段用存储选择好的省市区四级数据名称+code，方便编辑时候还原展示上次选择。
                extra: "", // 接收 存储选择好的省市区四级数据名称+code 数组
                value: "",
                lines: "inset",
                placeHolder: "省、市、区、街道",
                showValue: "",
                cssStyle: "margin:0 1rem;",
                labelCssStyle: "padding-left:0",
                link: {
                  type: "modal",
                  target: "177119",
                  params: {
                    cssStyle: "height:75vh;overflow:unset;overflow-y: hidden;",
                    modalCss: "bottom",
                       codeEventName:"sss"
                  }
                }
              },
              {
                formType: "copyAddress",
                cssStyle: "margin-top:0.5rem",
                formKey: "cydi",
                label: "收货地址",
                labelCssStyle: "font-size: 0.88rem;color: #222222;flex-shrink:0;",
                showValueCssStyle: "text-align:right",
                valueCssStyle: "text-align:right;font-size: 0.88rem;font-weight: bold;line-height: 1.25rem;color: #222222;",
                itemListCssStyle: "align-items:baseline", // 可以修改行高度
                placeHolder: "明月心 13632505539 广东省深圳市南山区粤海街道公园B座2101",
                value: '明月心 13632505539',
                showValue: '广东省深圳市南山区粤海街道公园B座2101',
                extra: "复制",
                extraCssStyle: "font-size: 0.75rem;color: #FE990D;"
    
              },
              {
                formType: "selectAddress",
                cssStyle: "margin-top:0.5rem;padding:0",
                formKey: "xzdi",
                label: "取件地址",
                labelCssStyle: "font-size: 0.88rem;color: #222222;flex-shrink:0;margin-left:0",
                showValueCssStyle: "font-size: 0.88rem;font-weight: bold;line-height: 1.25rem;color: #222222;text-align:right",
                tipsCssStyle: "text-align:right",
                itemListCssStyle: "align-items:baseline", // 可以修改行高度
                placeHolder: "",
                value: 0,
                showValue: '',
                tips: '',
                submit: {
                  id: "64a743a9-7739-4338-b125-c7d2d5141290",
                  isDisabled: false,
                  content: {
    
                  },
                },
                // leftIcon: 'http://icon.png',
                // disabled: false,
                showData: {
                  label: "广东省深圳市南山区粤海街道公园B座2101",
                  // icon: "1",
                  tips: "明月心 13632505539",
                  value: 1,
    
                },
                data: [
                  {
                    label: "广东省深圳市南山区粤海街道公园B座2101",
                    // icon: "1",
                    tips: "",
                    value: 1,
                    link: {
                      type: 'page',
                      params: {},
                      target: '116829'
                    },
    
                  },
                  {
                    label: "添加地址",
                    icon: "",
                    tips: "",
                    value: 0,
                    link: {
                      type: 'page',
                      params: {},
                      target: '116826'
                    },
                  },
    
    
                ],
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择"
                  }
                ]
              },
              {
                formType: "editItemListTable",
                formKey: "speId",
                label: "规格",
                defValue: "拿货价",
                extra: "零售价",
                tips: "利润",
    
                labelCssStyle: "font-size:0.75rem;color: #999999;",
                defValueCssStyle: "font-size:0.75rem;color: #999999;margin-right:0.5rem;",
                extraCssStyle: "font-size:0.75rem;color: #999999;",
                tipsCssStyle: "text-align:right;font-size:0.75rem;color: #999999;",
                value: "",
                showValue: '',
                // unit: "元",
                showValueCssStyle: "",
                textType: 'number',
                placeHolder: "请填写",
                valueNCssStyle: "font-size:0.75rem",
                itemList: [
                  {
                    valueN: "1000", // 规格编号
                    label: "50L无废水50L无废水50L无废水", //
                    minValue: "1780", // 拿货价
                    value: '2980', // 零售价格 填写 初始值==valueDef
                    // valueDef: "2980", // 零售价格 默认值 灰色中划线
                    profit: "1000", // 利润
                    labelCssStyle: "font-size:0.75rem;flex:1;",
                    profitCssStyle: "text-align:right;font-size:0.75rem",
                    valueNCssStyle: "font-size:0.75rem",
                    minValueCssStyle: "font-size:0.75rem",
                    valueCssStyle: "font-size:0.75rem",
                    valueDefCssStyle: "font-size:0.75rem",
    
                  },
                  {
                    valueN: "10001", // 规格编号
                    label: "60L无废水60L无废水60L无废水", //
                    miniValue: "1880", // 拿货价
                    value: '3980', // 零售价格 填写 初始值==valueDef
                    valueDef: "3980", // 零售价格 默认值 灰色中划线
                    profit: "2000", // 利润
                    profitCssStyle: "text-align:right;"
                  },
                ]
              },
              {
                compare: false,
                formType: "textInputLJOneLine",
                hidden: false,
                extra: "元",
                labelCssStyle: "flex-basis: 7rem;font-size: 1rem;",
                extraCssStyle: "color:#999999;",
                valueCssStyle: "font-size:1rem;font-weight:bold;color: #222222;line-height: 1.38rem;",
                valueNCssStyle: "flex-grow: 1;margin-left:0;border:unset",
                formKey: "wgg",
                rules: [
                  {
                    name: "pattern",
                    message: "",
                    value: ".{0,50}"
                  },
                  {
                    name: "required",
                    message: "请填",
                    value: "true"
                  }
                ],
                label: "零售价",
    
                maxLength: 3,
                placeHolder: "请填写"
              },
              {
              formType: "editItemList",
              label: "进货价",
              formKey: "speId",
              extra: "零售价格",
              value: "",
              showValue: '',
              unit: "元",
              showValueCssStyle: "",
              valueCssStyle: "",
              textType: 'number',
              itemList: [
                {
                  label: "3斤装", //
                  minValue: '100元', // 进货价
                  value: '', // 零售价格 填写
                  valueN: "1000", // 规格编号
                  valueDef: "请填写", // 零售价格 默认
    
                },
                {
                  label: "5斤装", //
                  minValue: '100元', // 进货价
                  value: '', // 零售价格
                  valueN: "1001", // 规格编号
                  valueDef: "请填写", // 零售价格 默认
    
                },
               ]
            },
              {
                formType: "multipleSelect3",
                label: "主营建材2-1",
                formKey: "skill",
                showCheckAll: true,
                endIcon: 'http',
                leftIcon: 'http',
                tipsBgCssStyle: "align-items:baseline",
                maxSize: 5, // 一级大分类数量限制 默认：0 多选
                tips: '选择的分类的相关商品都将会上架到店铺',
                link: {
                  type: 'modalPage ',
    
                }, // ？
                value: '',
                children: [
                  {
                    label: "水电",
                    value: "11",
                    maxSize: 1 , // 控制该类别下 二级单选；  默认：0 多选
                    children: [
                      {
                        label: "水电材料",
                        value: "1101",
                        children: [
                          {
                            label: "电线、电缆",
                            value: "1101001",
                            children: null
                          },
                          {
                            label: "电气控制",
                            value: "1101002",
                            children: null
                          }]
                      },
                      {
                        label: "水电材料2",
                        value: "1102",
                        children: [
                          {
                            label: "2电线、电缆",
                            value: "1102001",
                            children: null
                          },
                          {
                            label: "2电气控制",
                            value: "1102002",
                            children: null
                          }]
                      },
                      {
                        label: "水电材料3",
                        value: "1103",
                        children: []
                      }
                      ,
                      {
                        label: "水电材料4",
                        value: "1104",
                        children: []
                      }
                    ]
    
                  },
                  {
                    label: "地面",
                    value: "12",
                    children: [
                      {
                        label: "地面材料",
                        value: "1201",
                        children: [
                          {
                            label: "瓷砖",
                            value: "1201001",
                            children: null
                          },
                          {
                            label: "木地板",
                            value: "1201002",
                            children: null
                          }]
                      }]
                  },
                  {
                    label: "测试仅2级",
                    value: "13",
                    children: [
                      {
                        label: "测试2级1",
                        value: "1301",
                        children: [
                        ]
                      },
                      {
                        label: "测试2级2",
                        value: "1302",
                        children: [
                        ]
                      },
                      {
                        label: "测试2级3",
                        value: "1303",
                        children: [
                        ]
                      }
                    ]
                  }
                ]
                ,
              },
              {
                formType: "textAreaLines",
                formKey: "mark2",
                label: "详细地址",
                showValue: 1, // 行数 可以自动高度
                value: '',
                hasBorder: true,
                valueCssStyle: 'font-weight:bold;',
                placeHolder: "详细地址",
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "详细地址",
                  }
                ]
    
              },
              {
                cssStyle: '',
                formType: "pickerSelectDate",
                formKey: "pickerDate",
                maxSize: 30, // 天数范围
                label: "面试时间",
                labelCssStyle: '',
                placeHolder: "请选择",
    
                showValue: "",
                valueCssStyle: "font-weight: bold;",
                value: '',
                children: [
                  {
                    label: '随时可面',
                    value: '随时可面',
                    children: [
                    ]
                  }, {
                    label: '4月6日（今天）',
                    value: '4月6日（今天）',
                    children: [
                      {
                        label: '上午',
                        value: '上午',
                        children: []
                      },
                      {
                        label: '下午',
                        value: '下午',
                        children: []
                      },
                    ]
                  }]
                },
              // ], // debug:
              // htmlObj1: [
              {
                formType: "photoSelectWidget",
                orc: "true",
                orcKey: "公司名称",
                formKey: 'photos_contract',
                icon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png", // 编辑文字 图标
                textType: 'textInput', // 图片增加名称填写时 必需
                valueIndex: "demo资质", // 图片名称value
                formKeys: 'valueIndexKey', // 图片名称key
                maxSize: 8, // 最多设置8张
                placeHolder: "添加备注图片(最多8张）",
                tips: '视频：请通过PC员工后台上传案例视频',
                value: 'htt',
                background: "padding:0 1rem",
                labelCssStyle: "margin-bottom:-0.75rem",
                showValue: "<span style='font-size: 1rem;font-weight: bold;color: #252629;line-height: 1.31rem;'>上传凭证<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span><span style='font-size: 0.75rem;'>限8张</span></span>", // 当标题用
                delete: true, // 显示del
                cssStyle: "background: white;height: 8.81rem;width: 6.25rem;display: flex;align-items: center;margin-right:0.75rem;margin-bottom:1.25rem;flex-direction: column;", // 图片外框样式
                valueCssStyle: 'height: 6.25rem;width: 6.25rem;background: #F5F5F7;border-radius: 0.13rem;display: flex;justify-content: center;align-items: center;margin-top:0.5rem', // 图片样式
                // disabled: true,
                leftIconCssStyle: "width:1.8rem;height:1.8rem;",
                // leftIcon: '../../../assets/icon/choose-img.png', // + 图片配置
                hasBorder: false, // 新样式无图片时候居中  true
                extra: '上传图片',
                rules: [{
                  name: 'required',
                  value: true,
                  message: "请选择图片"
                }]
              },
              {
                label: "账号时长",
                extra: "天",
                eventName: 'sendDay',
                showValue: "",
                formType: "textInput",
                textType: 'number'
              },
              {
                // textInput中配 eventName="sendDay" 表示 要计算当期日期开始往后的日期 sectionDesc 中配   eventName="receiverDay"接收精选价格
                formType: "sectionDesc",
                eventName: "receiverDay",
                showValue: '', // 日期
                value: '',  // 日期
                label: "账号到期日期：",
                cssStyle: "", //
              },
              {
                formType: "backTips",
                showValue: "onlyBack"
              }
              ,
              {
                formType: "selectCommunityAddress",
                label: "服务地址",
                formKey: "selectCommunityAddress",
                value: "",
                lines: "inset",
                placeHolder: "请添加服务地址",
                showValue: "",
                link: {
                  type: "page",
                  target: "144819",
                  params: {latitude: 22.548511, longitude: 114.06611, selectItemBack: "true"}
                }
              },
              {
                formType: "selectService",
                label: "客户需要的服务是",
                formKey: "selectService",
                value: "",
                lines: "inset",
                placeHolder: "请添选择",
                showValue: "",
                link: {
                  type: "page",
                  target: "144819", // 改为原 服务类别page
                  params: {selectItemBack: "true"}
                }
              },
              {
                formType: "selectCommunityAddressJoin",
                formKey: "selectCommunityAddressJoin",
                labelCssStyle: 'color: #222222',
                valueCssStyle: 'color: #222222',
                cssStyle: 'background: #FFFFFF',
                sepCssStyle: 'background: #22222280',
                placeholderCssStyle: 'color: #22222280',
                placeHolder: "请选择",
                label: "服务小区",
                endIcon: 'http:',
                value: "",
                link: {
                  type: "page",
                  target: "144819",
                  params: {latitude: 22.548511, longitude: 114.06611, selectItemBack: "true"}
                }
              },
    
              {
                formType: "backTips",
                showValue: "onlyBack"
              }
              ,
              {
                formType: "sectionDesc",
                label: "{李甜甜}",
                value: "",
                lines: "inset",
                showValue: "",
                sepCssStyle: "height: 0.63rem;background: rgb(255, 235, 56);position: absolute;bottom: -0.35rem;left: 0px;display: inline-block;z-index: 0;left: 1.25rem;right: 0;" , // 底线样式
                cssStyle: 'width: 100%;height: 114.3vw;background-image: url("http://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677053155549cecf62193e5436cc6cd6711c87e10dad.png");background-repeat: no-repeat;background-position: center;background-size: 100%;display:block;padding:0;',
                labelCssStyle: 'margin-top:14%;margin-left:1.25rem;font-size: 1.5rem;font-weight: bold;color: #222222;line-height: 2.06rem;display:inline-block;width:auto;position: relative;z-index: 1;"',
              },
              {
                formType: "switchButtonFW_3",
                formKey: "shopType",
                cssStyle: "margin-top:-8rem",
                itemListBgCssStyle: "display: flex;flex-direction: column;align-items: center;background: #FFF4C5;border-radius: 0.5rem;height: 5.5rem;width:100%;justify-content:center;",
                itemListCssStyle: "padding:0.25rem;height: 6rem;background: linear-gradient(360deg, #FFD324 0%, #E3ED6C 100%);border-radius: 0.75rem;position: relative;", // 没有选中时
                itemListCheckedCssStyle: "padding:0.25rem;height: 6rem;background: #222222;border-radius: 0.75rem;position: relative;", // 有选中时
                itemListIconCssStyle: "filter:none;height:1.25rem;width:1.25rem;", // 图片样式
                label: "",
                value: '1',
                valueCssStyle: "line-height:1rem;font-size:0.69rem;color:#999999;", // 选中 字
                placeholderCssStyle: "line-height:1rem;font-size:0.69rem;color:#999999;", // 没有选中 字
                valueNCssStyle: "margin-top:0.13rem;font-size:0.88rem;font-weight:bold;color: #222222;line-height:1.25rem;", // 新增上行文字选中 字
                placeholderNCssStyle: "margin-top:0.13rem;font-size:0.88rem;font-weight:bold;color: #222222;line-height: 1.25rem;", // 新增上行文字 没有选中 字
                multiSelect: false,
                leftIcon: 'https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png', // 未选择右上角icon
                endIcon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116763174bf92f6848f4c68821ffbe091f05fd109.png", // 选择右上角 icon 此时不能配置tips
                leftIconCssStyle: 'width:1.13rem;height:1.13rem',
                endIconCssStyle: 'width:1.13rem;height:1.13rem',
                showValue: '',
                maxSize: 2,
                itemList: [
    
                  {
                    label: "店铺转让、出租",
                    value: '1',
                    icon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_16676147447273c7645e868f45fa238897bb0b04632aa.png", // 用彩色图片 不选中自动处理灰度
                    valueN: "商品服务店1",
                    check: true
                  },
                  {
                    label: "公牛",
                    value: '2',
                    check: false,
    
                  },
                  {
                    label: "多乐士",
                    value: '22',
                    check: false
                  },
                  {
                    label: "小米",
                    value: '5',
                    check: false
                  },
                ]
              },
              {
                formType: "sectionDesc",
                value: "",
                showValue: "",
                cssStyle: 'width: 100%;height: 1.94rem;background: #FFDB59;justify-content: center;padding: 0;margin-top: 1.75rem;',
                leftIcon: 'https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677118139872d3376508adba25ddd13aa7502ca5027f.png',
                leftIconCssStyle: 'height:1.94rem;width:auto',
              },
    
              {
                subHtmlObj: [
                  {
                    compare: false,
                    formType: "textInput",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    placeHolder: "请先选择小区位置",
                    disabled: true, //
                    formKey: "name",
                    label: '小区名称',
                    appType: "LJ",
                    rules: [
                      {
                        name: "required",
                        message: "小区名称",
                        value: "false"
                      }
                    ]
                  },
                  {
                    compare: false,
                    formType: "textInput",
                    placeHolder: "请先选择小区位置",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    disabled: true, //
                    formKey: "area",
                    label: '所在区县',
                    appType: "LJ",
                    rules: [
                      {
                        name: "required",
                        message: "所在区县",
                        value: "false"
                      }
                    ]
                  },
                  {
                    compare: false,
                    formType: "showAddress",
                    placeHolder: "请先选择小区位置",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    valueCssStyle: "white-space: break-spaces;", //
                    formKey: "address",
                    label: '详细地址',
                    appType: "LJ",
                    rules: [
                      {
                        name: "required",
                        message: "请选择详细地址",
                        value: "false"
                      }
                    ]
                  },
                  {
                  compare: false,
                  formType: "detailAddress_location",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  formKey: "location",
                  appType: "LJ",
                  rules: [
                    {
                      name: "required",
                      message: "请选择详细地址",
                      value: "false"
                    }
                  ]
                }
              ],
              compare: false,
              formType: "chooseMap",
              canEqual: false,
              checkAll: false,
              expression: true,
              hidden: false,
              formKey: "",
              appType: "",
              label: "深圳", // 城市 页面不展示
              // value: "4403", // 城市code 页面不展示
              valueN: "22.513813,113.935067", // 坐标 页面不展示
              valueCssStyle: "height:19.06rem" // 地图的样式如高度
            },
               {
                  subHtmlObj: [{
                    compare: false,
                    formType: "detailAddress_location",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "location",
                    appType: "LJ",
                    rules: [
                      {
                        name: "required",
                        message: "请选择详细地址",
                        value: "false"
                      }
                    ]
                  }
                ],
                compare: false,
                formType: "detailAddress",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                formKey: "address",
                appType: "LJ",
                label: "详细地址",
                placeHolder: "请设置地址"
              },
              {
                cssStyle: '',
                formType: "chooseHours",
                label: "服务时间",
                labelCssStyle: '',
                placeHolder: "请选择",
                showValue: "",
                valueCssStyle: "", // 数量样式
                subHtmlObj: [
                  {
                    formType: "chooseHourItem",
                    formKey: "startH",
                    value: "",
                  },
                  {
                    formType: "chooseHourItem",
                    formKey: "endH",
                    value: "",
                  }
                ],
                children: [
                  {
                    label: '06:00', // 06:00 - 20:00
                    value: '06:00',
                    children: [
                      {
                        label: '08:00',
                        value: '08:00',
                        children: []
                      },
                      {
                        label: '09:00',
                        value: '09:00',
                        children: []
                      },
                    ]
                  },
                  {
                    label: '07:00',
                    value: '07:00',
                    children: [
                      {
                        label: '09:00',
                        value: '09:00',
                        children: []
                      },
                      {
                        label: '10:00',
                        value: '10:00',
                        children: []
                      },
                    ]
                  },
                ]
              }
              ,
              {
                cssStyle: '',
                formType: "addItemCountNoInput",
                label: "小孩位数",
                labelCssStyle: '',
                formKey: "xiaohaishu",
                value: 1,
                valueCssStyle: "", // 数量样式
              },
              {
                compare: false,
                formType: "citySelectOneLine",
                cssStyle: "",
                showValueCssStyle: "margin-left:0rem",
                valueCssStyle: "",
                endIcon: "../../../assets/icon/release_icon_arrow_right@2x.png",
                endIconCssStyle: "margin-right: 0.75rem;",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                submit: {
                  isManualBinding: false,
                  doEventFirst: false,
                  isScript: false,
                  id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                  isDisabled: false,
                  key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                },
                formKey: "city_id",
                link: {
                  dataStr: false,
                  isScript: false,
                  isArray: true,
                  isDisabled: false,
                  isMajorPic: false,
                  type: "modal",
                  target: "52329"
                },
                label: "城市",
              },
              {
                formType: "modalOfMoreItems",
                label: "配送范围",
                extra: "",
                innerHTML: "true", // bool类型 默认true
                placeHolder: "包邮、包送、包安装配送范围",
                showSearchModal: false,
                showIndex: 0, // 表示要显示第几个子项的值
                subHtmlObj: [
                  {
                    formType: "modalOfMoreItems",
                    label: "说明",
                    innerHTML: "true", // bool类型 默认true
                    placeHolder: "可填写配送区域范围",
                    showSearchModal: false,
                    showIndex: 0, // 表示要显示第几个子项的值
                    subHtmlObj: [
    
                      {
                        compare: false,
                        formType: "textArea",
                        hidden: false,
                        formKey: "psdesc",
                        rules: [
    
                        ],
                        label: "说明",
                        maxLength: 11,
                        placeHolder: "可填写配送区域范围"
                      },
    
                    ]
                  },
                  {
                    compare: false,
                    formType: "switchButtonLJ",
                    cssStyle: "padding-left:1rem;",
                    hidden: false,
                    formKey: "xiandingfw",
                    value: '1',
                    labelCssStyle: 'font-weight:normal',
                    itemList: [
                      {
                        label: '不限制区域',
                        value: '0',
                        checked: false
                      },
                      {
                        label: '指定区域',
                        value: '1',
                        checked: true
                      }
                    ],
                    label: "区域范围",
                    subHtmlObj: [
                      {
                        formType: "threeLevelSelection",
                        formKey: "qucode",
                        showCondition: "1",
                        value: '',
                        children: [
                          {
                            label: "北京",
                            value: "1001",
                            children: [{
                              label: "故宫区",
                              value: "100101",
                              children: []
                            },
                            {
                              label: "海淀区",
                              value: "100102",
                              children: []
                            }
    
                            ]
                          },
                          {
                            label: "广东",
                            value: "4403",
                            children: [{
                              label: "罗湖区",
                              value: "440303",
                              children: [
                                {
                                  label: "蔡屋围",
                                  value: "44030301",
                                  children: null
                                },
                                {
                                  label: "国贸",
                                  value: "44030302",
                                  children: null
    
                                }]
                            },
                            {
                              label: "福田区",
                              value: "440304",
                              children: [
                                {
                                  label: "上啥",
                                  value: "44030401",
                                  children: null
                                },
                                {
                                  label: "下沙",
                                  value: "44030403",
                                  children: null
                                }]
                            }]
                          },
                          {
                            label: "广西",
                            value: "4503",
                            children: [{
                              label: "南宁",
                              value: "450303",
                              children: [
                                {
                                  label: "武鸣区",
                                  value: "45030301",
                                  children: null
                                },
                                {
                                  label: "中心区",
                                  value: "45030302",
                                  children: null
    
                                }]
                            }, ]
                          },
                        ],
                      }
                    ]
                  },
                  {
                    formType: "threeLevelSelection",
                    formKey: "qucode",
                    value: '',
                    children: [
                      {
                        label: "北京",
                        value: "1001",
                        children: [{
                          label: "故宫区",
                          value: "100101",
                          children: []
                        },
                          {
                            label: "海淀区",
                            value: "100102",
                            children: []
                          }
    
                        ]
                      },
                      {
                        label: "广东",
                        value: "4403",
                        children: [{
                          label: "罗湖区",
                          value: "440303",
                          children: [
                            {
                              label: "蔡屋围",
                              value: "44030301",
                              children: null
                            },
                            {
                              label: "国贸",
                              value: "44030302",
                              children: null
    
                            }]
                        },
                        {
                          label: "福田区",
                          value: "440304",
                          children: [
                            {
                              label: "上啥",
                              value: "44030401",
                              children: null
                            },
                            {
                              label: "下沙",
                              value: "44030403",
                              children: null
                            }]
                        }]
                      },
                      {
                        label: "广西",
                        value: "4503",
                        children: [{
                          label: "南宁",
                          value: "450303",
                          children: [
                            {
                              label: "武鸣区",
                              value: "45030301",
                              children: null
                            },
                            {
                              label: "中心区",
                              value: "45030302",
                              children: null
    
                            }]
                        },]
                      },
                    ],
                  }
    
                ]
              },
              {
                formType: "singleColumnSelect",
                formKey: "sales_status",
                labelCssStyle: 'max-width:34%',
                label: "配送安装<img src='../../../assets/laijian/icon_help_notes@3x.png' style='width: 2rem;height: 1rem;object-fit: contain;margin-bottom: 0.2rem;'> ",
                placeHolder: "请选择",
                value: 0,
                showValue: '包邮包送包安装',
    
                link: { type: 'page' },
                // disabled: false,
                data: [
                  {
                    label: "包邮包送包安装",
                    value: 0
                  },
                  {
                    label: "包邮",
                    value: 1
                  }
    
                ],
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择状态"
                  }
                ]
              },
              {
                formType: "richTextEdit1",
                formKey: 'richTextEdit',
                label: "基本信息",
                labelCssStyle: "font-size: 1rem;font-weight: bold;color: #000000;line-height: 1.38rem;padding:0 1.25rem;",
                valueCssStyle: "width:100%;height:15rem",
                showValue: '10',
              },
              {
                formType: "getCashType",
                value: '0',
                extra: "",
                extraCssStyle: "border-top:unset;",
                formKey: "retainage",
                label: "剩余尾款总额(元)",
                cssStyle: "", //
                placeHolder: "0.00",
                tips: "设置说明:<br>尾款可以分多笔收取，请您设置每笔应收比例；一次收取，则填写总额、第1笔设置100%即可；剩余尾款总额不包含定金。",
                rules: [
                  {
                    name: 'required',
                    value: true,
                    message: "请"
                  }
                ],
                subHtmlObj: [
                  {
                    formType: "addPercentItemList",
                    value: '',
                    textType: 'number',
                    tips: "金额:￥",
                    extra: "添加尾款笔数",
                    extraCssStyle: "",
                    formKey: "percent",
                    cssStyle: "", //
                    placeHolder: "请输入",
                    itemList: [
                      {
                        valueN: "",
                        value: "100", //
                        icon: "../../../assets/icon/release_icon_contact@3x.png", // 删除 http
                        iconOn: "../../../assets/icon/release_icon_contact@3x.png", // 新增
                      }
                    ]
                  },
                ]
              },
              {
                subHtmlObj: [
                  {
                    compare: true,  // 与minSize配合使用
                    lessTip: "至少3张图片", // 最小数量不满足时提示
                    formType: "photo",
                    showValue: "",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: true,
                    formKey: "picurl",
                    maxSize: 8,
                    minSize: 3,
                    lines: "inset",
                    value: ""
    
                  },
                  {
                    compare: false,
                    formType: "video",
                    showValue: "",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "video_url",
                    lines: "inset",
                    value: ""
                  },
                  {
                    compare: false,
                    formType: "video_pic",
                    showValue: "",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "video_pic",
                    maxSize: 1,
                    lines: "inset",
                    value: ""
                  }
                ],
                compare: false,
                formType: "photoVideoSelectWidget",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                placeholderCssStyle: '',
                labelCssStyle: '',
                placeHolder: "（列表用）",
                extra: "上传一个", // 视频
                label: "图片/视频",
                lines: "inset",
                tips: "上传视频，提高曝光！"
              },
              {
                formType: "photoSelectWidget",
                formKey: 'photos_pdf',
                textType: 'pdf', // 上传pdf必需
                maxSize: 8, // 最多设置8张
                // placeHolder: "添加备注图片(最多8张）",
                tips: '视频：请通过PC员工后台上传案例视频',
                value: 'https://zeno-file.oss-cn-shenzhen.aliyuncs.com/file_1667614743184dbc6c039c6db5f9f353ac245362aca52.pdf',
                formKeys: 'valueLongKey;valueIndexKey', // 长图key;首图key
                // 首图
                valueIndex: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_16676147447273c7645e868f45fa238897bb0b04632aa.png",
                // 长图
                valueLong: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_16676147454459818f26db32daf3f8e19bc603ce502be.png",
                background: "padding:0 1rem",
                labelCssStyle: "margin-bottom:-0.75rem",
                showValue: "<span style='font-size: 1rem;font-weight: bold;color: #252629;line-height: 1.31rem;'>上传凭证<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span><span style='font-size: 0.75rem;'>限8张</span></span>", // 当标题用
                delete: true, // 显示del
                cssStyle: "background: white;height: 6.75rem;width: 6.25rem;display: flex;align-items: center;", // 图片外框样式
                valueCssStyle: 'height: 6.25rem;width: 6.25rem;background: #F5F5F7;border-radius: 0.13rem;display: flex;justify-content: center;align-items: center;', // 图片样式
                // disabled: true,
                leftIconCssStyle: "width:1.8rem;height:1.8rem;",
                // leftIcon: '../../../assets/icon/choose-img.png', // + 图片配置
                hasBorder: false, // 新样式无图片时候居中
                extra: '上传发票',
                rules: [{
                  name: 'required',
                  value: true,
                  message: "请选择图片"
                }]
              },
              {
                compare: false,
                formType: "changePublish",
                hidden: false,
                extra: "找工人",
                cssStyle: "",
                extraCssStyle: "xxx",
                labelCssStyle: "",
                leftIconCssStyle: "",
                label: "指想找人施工，请点击这里",
                rules: [],
                link: {
    
                  params: {
                    aa: "1101",
                    closeModal: "true" // 必需有才能先关闭当前弹窗
                  },
                  type: "modal",
                  target: "158743"
                },
              },
              {
                compare: false,
                formType: "textInput",
                hidden: false,
                extra: "",
                label: "品牌",
                formKey: "banner",
                placeHolder: "请填写",
                rules: [],
                showSureBtn: true,
                showLabel: true,
                subHtmlObj: [
                  {
                    extra: "平台选择",
                    extraCssStyle: "height: 1.75rem;background: #FFFFFF;border-radius: 0.88rem;border: 0.03rem solid #B3B3B3;padding:0 0.5rem;ont-size: 0.75rem;color: #222222;",
                    label: "",
                    tips: '', // 不与extra 同时使用
                    endIcon: 'http', //
                    endIconCssStyle: "width:0.33rem;height:0.59rem;margin-left:0.25rem",
                    showSearchModal: true, // 搜索栏
                    formType: "switchButtonFW_3",
                    formKey: "banner",
                    itemListCssStyle: "width: auto;height: 2rem;background: #F5F5F5;border-radius: 1rem;border: 0.03rem solid #F5F5F5;padding:0 0.75rem", // 没有选中时
                    itemListCheckedCssStyle: "width: auto;height: 2rem;background: #FFFAE6;border-radius: 1rem;border: 0.03rem solid #FFD82B;padding:0 0.75rem", // 有选中时
    
                    value: '',
                    valueCssStyle: "font-size: 0.75rem;color: #222222;", // 选中 字
                    placeholderCssStyle: "font-size: 0.75rem;color: #666666;", // 没有选中 字
                    valueNCssStyle: "font-size: 0.81rem;font-weight: bold;color: #4D1F20;", // 新增上行文字选中 字
                    placeholderNCssStyle: "font-size: 0.81rem;font-weight: bold;color: #48300C;", // 新增上行文字 没有选中 字
                    multiSelect: false,
                    showValue: '',
                    maxSize: 2,
                    itemList: [
    
                      {
                        label: "TCL",
                        value: '1',
                        check: true
                      },
                      {
                        label: "公牛",
                        value: '2',
                        check: false,
    
                      },
                      {
                        label: "多乐士",
                        value: '3',
                        check: false
                      },
                      {
                        label: "小米",
                        value: '5',
                        check: false
                      },
                    ]
                  }, ]
              },
              {
                compare: false,
                formType: "textInput",
                hidden: false,
                extra: "",
                label: "报备建材",
                formKey: "rjc",
                placeHolder: "请填写",
                rules: [],
                // showSureBtn: true,
                subHtmlObj: [{
                  compare: false,
                  formType: "singleSelect3",
                  hidden: false,
                  formKey: "rjc",
                  rules: [
    
                  ],
                  label: "",
                  extra: "平台选择",
                  extraCssStyle: "height: 1.75rem;background: #FFFFFF;border-radius: 0.88rem;border: 0.03rem solid #B3B3B3;padding:0 0.5rem;ont-size: 0.75rem;color: #222222;",
                  endIcon: 'http', //
                  endIconCssStyle: "width:0.33rem;height:0.59rem;margin-left:0.25rem",
                  children: [
                    {
                      label: "水电",
                      value: "11",
                      children: [
                        {
                          label: "水电材料",
                          value: "1101",
                          children: [
                            {
                              label: "电线、电缆",
                              value: "1101001",
                              children: null
                            },
                            {
                              label: "电气控制",
                              value: "1101002",
                              children: null
                            }]
                        },
                        {
                          label: "水电材料2",
                          value: "1102",
                          children: [
                            {
                              label: "2电线、电缆",
                              value: "1102001",
                              children: null
                            },
                            {
                              label: "2电气控制",
                              value: "1102002",
                              children: null
                            }]
                        },
    
    
                      ]
    
                    },
                    {
                      label: "地面",
                      value: "12",
                      children: [
                        {
                          label: "地面材料",
                          value: "1201",
    
                          children: null
                        }, {
                          label: "瓷砖",
                          value: "1201001",
                          children: null
                        },
                        {
                          label: "木地板",
                          value: "1201002",
                          children: null
                        }
                      ]
                    }
                  ]
                }, ]
              },
    
              {
                formType: "photoSelectWidget",
                formKey: 'photos_contract',
                textType: 'textInput', // 图片增加名称填写时 必需
                maxSize: 8, // 最多设置8张
                placeHolder: "添加备注图片(最多8张）",
                tips: '视频：请通过PC员工后台上传案例视频',
                value: 'htt',
                background: "padding:0 1rem",
                labelCssStyle: "margin-bottom:-0.75rem",
                showValue: "<span style='font-size: 1rem;font-weight: bold;color: #252629;line-height: 1.31rem;'>上传凭证<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span><span style='font-size: 0.75rem;'>限8张</span></span>", // 当标题用
                delete: true, // 显示del
                cssStyle: "background: white;height: 6.75rem;width: 6.25rem;display: flex;align-items: center;", // 图片外框样式
                valueCssStyle: 'height: 6.25rem;width: 6.25rem;background: #F5F5F7;border-radius: 0.13rem;display: flex;justify-content: center;align-items: center;', // 图片样式
                // disabled: true,
                leftIconCssStyle: "width:1.8rem;height:1.8rem;",
                // leftIcon: '../../../assets/icon/choose-img.png', // + 图片配置
                hasBorder: false, // 新样式无图片时候居中  true
                extra: '上传图片',
                rules: [{
                  name: 'required',
                  value: true,
                  message: "请选择图片"
                }]
              },
              {
                formType: "multipleSelect3",
                label: "主营建材5-1",
                formKey: "skill",
                showCheckAll: true,
                endIcon: 'http',
                leftIcon: 'http',
                tipsBgCssStyle: "align-items:baseline",
                maxSize: 5,
                tips: '选择的分类的相关商品都将会上架到店铺',
                link: {
                  type: 'modalPage ',
    
                }, // ？
                value: '',
                children: [
                  {
                    label: "水电",
                    value: "11",
                    maxSize: 1 , // 控制该类别下 二级单选；  默认：0 多选
                    children: [
                      {
                        label: "水电材料",
                        value: "1101",
                        children: [
                          {
                            label: "电线、电缆",
                            value: "1101001",
                            children: null
                          },
                          {
                            label: "电气控制",
                            value: "1101002",
                            children: null
                          }]
                      },
                      {
                        label: "水电材料2",
                        value: "1102",
                        children: [
                          {
                            label: "2电线、电缆",
                            value: "1102001",
                            children: null
                          },
                          {
                            label: "2电气控制",
                            value: "1102002",
                            children: null
                          }]
                      },
                      {
                        label: "水电材料3",
                        value: "1103",
                        children: []
                      }
                      ,
                      {
                        label: "水电材料4",
                        value: "1104",
                        children: []
                      }
                    ]
    
                  },
                  {
                    label: "地面",
                    value: "12",
                    children: [
                      {
                        label: "地面材料",
                        value: "1201",
                        children: [
                          {
                            label: "瓷砖",
                            value: "1201001",
                            children: null
                          },
                          {
                            label: "木地板",
                            value: "1201002",
                            children: null
                          }]
                      }]
                  },
                  {
                    label: "测试仅2级",
                    value: "13",
                    children: [
                      {
                        label: "测试2级1",
                        value: "1301",
                        children: [
                        ]
                      },
                      {
                        label: "测试2级2",
                        value: "1302",
                        children: [
                        ]
                      },
                      {
                        label: "测试2级3",
                        value: "1303",
                        children: [
                        ]
                      }
                    ]
                  }
                ]
                ,
              },
              {
                formType: "moreDetailInfo",
                hidden: false, // true 为隐藏 false 为默认展开
                tips: "",
                leftIcon: 'xxx', // 隐藏时icon
                endIcon: " xxx", // 配置 展开时 icon
                leftIconCssStyle: 'width:1.5rem;height:1.5rem',
                endIconCssStyle: 'width:1.5rem;height:1.5rem',
                cssStyle: 'height:2.5rem;background: #FFFFFF;border-radius: 0 0 0.75rem 0.75rem;text-align:center;display:flex;align-items:center;justify-content:center;',
                subHtmlObj: [
                  {
                    compare: false,
                    formType: "textInput",
                    hidden: false,
                    extra: "平方",
                    label: "面积",
                    formKey: "company_name21",
                    rules: []
                  }]
              },
              {
                formType: "pickerSelectBtn",
                formKey: "district_design",
                showValue: "generalSubmit", // 表单内部 提交Submit showValue = "generalSubmit" 表示通用提交，
                submit: {
                  id: "",
                  content: {
    
                  },
                  formKey: "isJsonArray"
                },
    
                placeHolder: "请选择",
                label: "选择其他地址",
                value: "", // , 拼接id
                cssStyle: 'height: 2.75rem;background: linear-gradient(135deg, #FFDE3B 0%, #FFC933 100%);border-radius: 3rem;margin: 0.75rem 1rem;text-align: center;',
                data: [
                  {
                    label: "广东",
                    value: "440303",
                    children: [{
                      label: "罗湖区",
                      value: "440303",
                      children: [
                        {
                          label: "蔡屋围",
                          value: "44030301",
                          children: null
                        },
                        {
                          label: "国贸",
                          value: "44030302",
                          children: null
    
                        }]
                    },
                    {
                      label: "福田区",
                      value: "440304",
                      children: [
                        {
                          label: "上啥",
                          value: "44030401",
                          children: null
                        },
                        {
                          label: "下沙",
                          value: "44030403",
                          children: null
                        }]
                    }]
                  },
                  {
                    label: "广西",
                    value: "450301",
                    children: []
                  },
                ],
    
                rules: [
                ]
              },
              {
                formType: "bottomModalOfMoreItemsFW",
                tips: "换货原因<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
                label: "换货原因",
                showLabel: true,
                placeHolder: "请选择",
                showSearchModal: false,
                hasAddNew: false, // 默认 true， 表示可以新增
                showIndex: 0, // 表示要显示第几个子项的值
                modalCssStyle: "bottom", // 底部弹窗
                showSureBtn: true,
                // leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
                endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
                // leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
                endIcon: 'XXX',
                cssStyle: "font-size: 0.88rem;font-weight:bold;height: 2.5rem;align-items: center;display: flex;padding: 0.75rem;margin: 0 0.5rem;border: none;box-shadow: none;justify-content: space-between;background: #f7f8fa;border-radius: 0.5rem 0.5rem 0 0;",
                valueCssStyle: "font-size: 0.88rem;color: #0F0F0F;line-height: 1.13rem;position: relative;z-index: 2;display: flex;flex-direction: column;flex-grow:1;text-align:right",
                placeholderCssStyle: "font-size: 0.88rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1;text-align:right;",
    
    
                subHtmlObj: [
                  {
                    formType: "showSingleSelect",
                    formKey: "inform",
                    label: "标准标价",
                    labelCssStyle: "font-size: 1rem;font-weight: bold;color: #252629;",
                    value: "",
                    unit: "￥", // 单位
                    itemListCheckedCssStyle: "height: 3rem;border-radius: 0.5rem;border: 0.06rem solid rgb(255, 216, 43);padding-left: 0.75rem;display: flex;padding-right: 0.75rem;background: #FFF9E6;", // 有选中时
                    placeholderCssStyle: "height: 3rem;border-radius: 0.5rem;border: 0.03rem solid #E0E0E0;padding-left: 0.75rem;display: flex;padding-right: 0.75rem;background: #FAFAFA;",
                    valueCssStyle: "display: flex;align-items: center;justify-content: space-between;",
                    valueNCssStyle: "display: flex;justify-content: flex-end;flex-grow: 1;align-items: baseline;font-size: 1.13rem;font-weight: bold;color: #FF3D2B;line-height: 3rem;",
                    showValueCssStyle: "font-size: 0.88rem;color: #222222;margin-left:-0.5rem",
                    itemList: [
                      {
                        label: "按月30天服务",
                        value: "1",
                        valueN: '1780',
                        check: false,
    
                      },
                      {
                        label: "按月180天服务",
                        value: "2",
                        check: false,
                        valueN: '2680',
                      },
                    ],
                    rules: [
                    ],
                  },
                  {
                    formType: "showSingleSelect",
                    formKey: "inform",
                    label: "退货原因",
                    minSize: "1",
                    lessTips: '最少选2个',
                    value: "",
                    placeholderCssStyle: "height: 4.69rem;border-radius: 0.75rem;border: 0.06rem solid rgb(255, 216, 43);padding-left: 1rem;display: flex;flex-direction: column;justify-content: center",
                    valueCssStyle: "display: flex;align-items: center;justify-content: space-between;flex-direction: row-reverse;",
                    valueNCssStyle: "font-size: 0.75rem;font-weight: 400;color: #999999;line-height: 1.06rem;margin-top:0.38rem",
                    showValueCssStyle: "font-size: 1rem;font-weight: bold;color: #222222;line-height: 1.38rem;",
                    itemList: [
                      {
                        label: "增值税电子普通发票",
                        value: "增值税电子普通发票",
                        valueN: '电子发票与纸质发票具有同等法律效力，可支持报销入账',
                        check: false,
    
                      },
                      {
                        label: "质量问题",
                        value: "7天无理由",
                        check: false
                      },
                    ],
                    rules: [
                    ],
                  },
                ]
              },
              {
                formType: "sectionDesc",
                label: "发票金额",
                showValue: "94.712",
                cssStyle: 'font-size: 0.88rem;line-height: 1.25rem;border-radius: 0 0 0.5rem 0.5rem;padding: 0.75rem;margin: 0.5rem; margin-top: 0;color: #222222;margin-top:0;font-weight:bold;justify-content:normal',
                labelCssStyle: 'width:auto;',
                valueCssStyle: 'font-size:1rem;font-weight: bold;color: #FF3A33;display:block;text-align:right;flex:1', // 金额样式
                extra: '￥',
                leftIcon: 'http',
                link: {
    
                  params: {
                    aa: "1101"
                  },
                  type: "modal",
                  target: "158743"
                },
              },
              {
                formType: "sectionDesc",
                label: "退款金额<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
                showValue: "94.712",
                cssStyle: 'font-size: 0.88rem;line-height: 1.25rem;border-radius: 0 0 0.5rem 0.5rem;padding: 0.75rem;margin: 0.5rem; margin-top: 0;color: #222222;margin-top:0;font-weight:bold;',
                valueCssStyle: 'font-size:1rem;font-weight: bold;color: #FF3A33;display:block;text-align:right;', // 金额样式
                extra: '￥'
              },
    
              {
                formType: "sectionDesc",
                label: "退货方式<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
                placeHolder: "自行寄回",
                cssStyle: 'font-size: 1rem;line-height: 1.31rem;border-radius:0.5rem 0.5rem 0 0;padding: 0.75rem;margin: 0.5rem;color: #222222;margin-bottom:0;font-weight:bold;',
                valueCssStyle: 'font-size:0.88rem;color: #999999;display:block;text-align:right;', // 自行寄回 样式
    
              },
              {
                formType: "sectionDesc",
                label: "仅限更换同款相同价格商品，如需申请换货联系商家处理，具体查看",
                cssStyle: 'font-size: 0.75rem;border-radius: 0 0 0.5rem 0.5rem;padding: 0.75rem;margin: 0.5rem;color: #FE950D;margin-top:0;padding-top:0',
                labelCssStyle: "width:100%",
              },
              {
                formType: "sectionDesc",
                label: "仅限更换同款相同价格商品，如需申请换货联系商家处理，具体查看<span style='color:blue'>规则内容</span>",
                labelCssStyle: "width:100%",
                cssStyle: "font-size: 0.81rem;color: #808080;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1.5rem;padding-top:0;background: #FFFFFF;",
                link: {
    
                  params: {
                    aa: "1101"
                  },
                  type: "modal",
                  target: "158743"
                },
    
              },
              {
                formType: "bottomModalOfMoreItemsFW",
                label: "服务时间",
                showLabel: true,
                placeHolder: "请选择",
                showSearchModal: false,
                hasAddNew: false, // 默认 true， 表示可以新增
                showIndex: 0, // 表示要显示第几个子项的值
                modalCssStyle: "bottom", // 底部弹窗
    
                leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
                endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
                leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
                endIcon: 'XXX',
                cssStyle: "padding:0.75rem;height: 2.5rem;align-items: center;display: flex;",
                valueCssStyle: "font-size: 0.88rem;color: #0F0F0F;line-height: 1.13rem;position: relative;z-index: 2;display: flex;flex-direction: column;flex-grow:1",
                placeholderCssStyle: "font-size: 0.88rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1",
    
    
                subHtmlObj: [
                  {
                    compare: false,
                    formType: "textInputLJ",
                    hidden: false,
                    extra: "平方",
                    formKey: "company_name2",
                    rules: [
                      {
                        name: "pattern",
                        message: "请填写正确的面积",
                        value: ".{0,50}"
                      },
                      {
                        name: "required",
                        message: "请填面积",
                        value: "true"
                      }
                    ],
                    labelCssStyle: 'font-size:0.88rem;font-weight: normal',
                    valueCssStyle: 'font-size:1.13rem;font-weight: normal',
                    label: "面积",
                    // extra: "平米",
                    maxLength: 3,
                    placeHolder: "请填写"
                  },
                  {
                    formType: "sectionDesc",
                    label: "温馨提示：<br>1.纯毛、纯棉、黄麻、真丝材料的地毯暂时无法提供服务，还请您给予谅解(可服务地毯的绒毛长度为2-5cm)<br>2.地毯面积不足4平米时，按照4平米收取费用",
                    labelCssStyle: "width:100%",
                    cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1.5rem;padding-top:0;background: #FFFFFF;"
    
                  },
                ]
              },
              {
                tips: '选择一个专卖品牌；该可销售该品牌所有商品',
                endIcon: 'http', // 关闭提示
                showSearchModal: true, // 搜索栏
                formType: "switchButtonFW_3",
                formKey: "brand",
                itemListCssStyle: "padding:0 0.75rem;height: 6.25rem;background: #FFFFFF;border-radius: 0.75rem;border: 0.13rem solid #EDEDED;", // 没有选中时
                itemListCheckedCssStyle: "padding:0 0.75rem;height: 6.25rem;background: #FFFAE6;border-radius: 0.75rem;border: 0.13rem solid #FFD82B;", // 有选中时
                itemListIconCssStyle: "", // 图片样式
                label: "",
                value: '1',
                valueCssStyle: "line-height:1rem;font-size:0.69rem;color:#999999;", // 选中 字
                placeholderCssStyle: "line-height:1rem;font-size:0.69rem;color:#999999;", // 没有选中 字
                valueNCssStyle: "margin-top:0.13rem;font-size:0.88rem;font-weight:bold;color: #222222;line-height:1.25rem;", // 新增上行文字选中 字
                placeholderNCssStyle: "margin-top:0.13rem;font-size:0.88rem;font-weight:bold;color: #222222;line-height: 1.25rem;", // 新增上行文字 没有选中 字
                multiSelect: false,
                showValue: '',
                maxSize: 2,
                itemList: [
    
                  {
                    label: "店铺转让、出租",
                    value: '1',
                    icon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_16676147447273c7645e868f45fa238897bb0b04632aa.png", // 用彩色图片 不选中自动处理灰度
                    valueN: "商品服务店1",
                    check: true
                  },
                  {
                    label: "公牛",
                    value: '2',
                    check: false,
    
                  },
                  {
                    label: "多乐士",
                    value: '3',
                    check: false
                  },
                  {
                    label: "小米",
                    value: '5',
                    check: false
                  },
                ]
              },
              {
                formType: "singleSelect3-4",
                label: "品牌",
                formKey: "skill",
                tips: '选择一个专业商品类型或品牌；一个店铺限销售一个类型或者品牌的商品选择一个专业商品类型或品牌；一个店铺限销售一个类型或者品牌的商品',
                value: '',
                endIcon: 'http',
                leftIcon: 'http',
                tipsBgCssStyle: "align-items:baseline",
                children: [
                  {
                    label: "家电",
                    value: "11",
                    minLevel: false,
                    children: [
                      {
                        label: "视听影音",
                        value: "1101",
                        minLevel: false,
                        children: [
                          {
                            label: "家庭影院",
                            value: "1101001",
                            minLevel: false,
                            children: [
                              {
                                label: "TCL",
                                value: "1101001001",
                                children: null,
                                minLevel: true,
                              },
                              {
                                label: "LG",
                                value: "1101001002",
                                children: null,
                                minLevel: true,
                              }
                            ]
                          },
                          {
                            label: "KTV音响",
                            value: "1101002",
                            minLevel: true,
                            children: null
                          }]
                      },
                      {
                        label: "空调",
                        value: "1102",
                        minLevel: false,
                        children: [
                          {
                            label: "空调挂机",
                            value: "1102001",
                            minLevel: false,
                            children: [
                              {
                                label: "TCL",
                                value: "1102001001",
                                minLevel: true,
                                children: null
                              }
                            ]
                          },
                        ]
                      },
                    ]
    
                  },
                  {
                    label: "地面",
                    value: "12",
                    minLevel: false,
                    children: [
                      {
                        label: "地面材料",
                        value: "1201",
                        minLevel: false,
                        children: [
                          {
                            label: "瓷砖",
                            value: "1201001",
                            children: null,
                            minLevel: true,
                          },
                          {
                            label: "木地板",
                            value: "1201002",
                            children: null,
                            minLevel: true,
                          }, {
                            label: "瓷砖",
                            value: "1201001",
                            children: null,
                            minLevel: true,
                          },
                          {
                            label: "木地板",
                            value: "1201002",
                            children: null,
                            minLevel: true,
                          }, {
                            label: "瓷砖",
                            value: "1201001",
                            children: null,
                            minLevel: true,
                          },
                          {
                            label: "木地板",
                            value: "1201002",
                            children: null,
                            minLevel: true,
                          }]
                      }]
                  },
                  {
                    label: "测试仅2级",
                    value: "13",
                    minLevel: false,
                    children: [
                      {
                        label: "测试2级1",
                        value: "1301",
                        minLevel: true,
                        children: [
                        ]
                      },
                      {
                        label: "测试2级2",
                        value: "1302",
                        minLevel: true,
                        children: [
                        ]
                      },
                      {
                        label: "测试2级3",
                        value: "1303",
                        minLevel: true,
                        children: [
                        ]
                      }
                    ]
                  }
                ]
                ,
              },
              {
                label: "优惠价格",
                eventName: 'sendPrice',
                showValue: "",
                formType: "textInput",
                textType: 'number'
              },
              {
                // textInput中配 eventName="sendPrice" 表示 设置精选 价格profit 中配   eventName="receiverPrice"接收精选价格
                formType: "profit",
                eventName: "receiverPrice",
                showValue: '1200', // 建议零售价
                unit: '元',
                tips: '优惠：元，利润: 元',
                value: '1000',  // 成本价
                label: "优惠：",
                extra: "利润：",
                cssStyle: "", //
              },
              {
                formType: "updateRules",
                value: '',
                formKey: "read11",
                label: "更新规则",
                cssStyle: "", //
              },
              {
                formType: "multipleSelectLJ", // 直接表单内展示
                // showValue: "generalSubmit", // 表单内部 提交Submit showValue == "generalSubmit" 表示通用提交，
                // 必需有 submit demo 数据注释submit
                // submit: {
                //   id: "",
                //   content: {
    
                //   },
                //   formKey: "isJsonArray"
                // },
                formKey: "industry_m_s",
                valueCssStyle: "height:100%",
                cssStyle: "height:calc(100vh - 7.5rem - env(safe-area-inset-bottom) - env(safe-area-inset-top))",
                labelCssStyle: '',
                value: "", // , 拼接id
                maxSize: 1, // 大行业只能选一个
                data: [{
                  label: "餐饮美食",
                  value: "11",
                  children: [
                    {
                      label: "全餐饮美食",
                      value: "11",
                      children: null
                    },
                    {
                      label: "餐饮美食01",
                      value: "1101",
                      children: null
                    },
                    {
                      label: "餐饮美食02",
                      value: "1102",
                      children: null
                    }]
                },
                {
                  label: "餐饮美食1",
                  value: "12",
                  children: [
                    {
                      label: "全餐饮美食1",
                      value: "12",
                      children: null
                    }, {
                      label: "餐饮美食2",
                      value: "1202",
                      children: null
                    }]
                }],
    
                rules: [
                ],
              },
              {
                subHtmlObj: [
                  {
                    formType: "textInput",
                    textType: "number",
                    extra: "(人)",
                    rules: [
                      {
                        name: "required",
                        message: "请填写人数",
                        value: "false"
                      }
                    ],
                    label: "人数",
                    maxLength: "10",
                    placeHolder: "选填"
                  },
    
                  {
                    formType: "textInput",
                    textType: "text",
                    rules: [
                      {
                        name: "required",
                        message: "请填写时长",
                        value: "false"
                      }
                    ],
                    label: "时长",
                    extra: "(小时)",
                    maxLength: "2",
                    placeHolder: "时长"
                  }
                ],
                formType: "serviceSpecification",
                formKey: "serviceSpecification",
                label: "服务规格",
                extra: "一居室（左label）",
                cssStyle: "padding-bottom:0",
                showLabel: true, // true 用于第一行规格 后面行的规格不用显示label
                value: ""
              },
              {
                subHtmlObj: [
                  {
                    formType: "textInput",
                    textType: "number",
                    extra: "(人)",
                    rules: [
                      {
                        name: "required",
                        message: "请填写人数",
                        value: "false"
                      }
                    ],
                    label: "人数",
                    maxLength: "10",
                    placeHolder: "选填"
                  },
    
                  {
                    formType: "textInput",
                    textType: "text",
                    rules: [
                      {
                        name: "required",
                        message: "请填写时长",
                        value: "false"
                      }
                    ],
                    label: "时长",
                    extra: "(小时)",
                    maxLength: "2",
                    placeHolder: "时长"
                  }
                ],
                formType: "serviceSpecification",
                formKey: "serviceSpecification1",
                label: "服务规格",
                extra: "一居室（左label）",
                cssStyle: "padding-top:0",
                showLabel: false, // true 用于第一行规格 后面行的规格不用显示label
                value: ""
              },
              {
                formType: "pickerSelectSepTwo",
                formKey: "district_join",
                labelCssStyle: 'color: #401406',
                valueCssStyle: 'color: #401406',
                valueNCssStyle: 'color: #401406', // 左边label
                cssStyle: 'background: #E6755C',
                sepCssStyle: 'background: #A12B12',
    
                placeHolder: "请选择",
                label: "广告选择pickerSelectSepTwo",
    
                value: "",
                extra: "左边label",
                data: [
                  {
                    label: "广东",
                    value: "440303",
                    children: [{
                      label: "罗湖区",
                      value: "440303",
                      children: [
                        {
                          label: "蔡屋围",
                          value: "44030301",
                          children: null
                        },
                        {
                          label: "国贸",
                          value: "44030302",
                          children: null
    
                        }]
                    },
                    {
                      label: "福田区",
                      value: "440304",
                      children: [
                        {
                          label: "上啥",
                          value: "44030401",
                          children: null
                        },
                        {
                          label: "下沙",
                          value: "44030403",
                          children: null
                        }]
                    }]
                  },
                  {
                    label: "广西",
                    value: "450301",
                    children: []
                  },
                ],
    
                rules: [
                ]
              },
              {
                formType: "sectionDesc",
                label: "问题描述",
                labelCssStyle: "",
                cssStyle: "font-size: 0.94rem;font-weight: bold;color: rgb(51, 51, 51);line-height: 1.31rem;padding-left: 0.75rem;background: white;border-radius: 0.75rem 0.75rem 0px 0px;margin: 0 0.75rem;​"
              },
              {
                showValueCssStyle: "background: white;width: auto;margin: 0 0.75rem;",
                cssStyle: "--padding-satrt: 0.75rem;",
                label: "",
                defValue: "要设置的默认内容",
                defValueCssStyle: "", // 设置默认btn 的样式
                formType: "textArea",
                formKey: "mark2",
                maxLength: 260, // 必须 显示字数统计
                value: '',
                hasBorder: true,
                placeHolder: "请填写面谈备注11",
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请填写面谈备注",
                  }
                ]
    
              },
              {
                showValueCssStyle: "background: white;width: auto;background: white;margin: 0 0.75rem 0.5rem 0.75rem;border-radius: 0 0 0.75rem 0.75rem;padding-bottom:1.25rem;width: auto;",
                formType: "photoSelectWidget",
                formKey: 'photos',
                maxSize: 8, // 最多设置8张
                placeHolder: "添加备注图片(最多8张）",
                tips: '',
                value: '',
                rules: [{
                  name: 'required',
                  value: true,
                  message: "请选择图片"
                }]
              },
              {
                formType: "bottomModalOfMoreItemsFW",
                label: "上门时间", // 弹窗title用
                tips: "上门时间——左边", // 占左边位置 == label
                showLabel: true,
                placeHolder: "选择上门时间",
                showSearchModal: false,
                hasAddNew: false, // 默认 true， 表示可以新增
                showIndex: 0, // 表示要显示第几个子项的值
                modalCssStyle: "bottom", // 底部弹窗
    
                leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
                endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
                leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
                endIcon: 'XXX',
    
                labelCssStyle: "margin-left:0.5rem",
                cssStyle: "padding:0.75rem;min-height: 3.31rem;background: #FFFFFF;border-radius: 0.75rem;align-items: center;display: flex;margin:0 0.75rem", valueCssStyle: "font-size: 0.88rem;color: #FF9400;line-height: 1.13rem;position: relative;z-index: 2;display: flex;text-align: right;flex-direction: column;flex-grow:1",
                placeholderCssStyle: "font-size: 0.88rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1;text-align: right; ",
    
                subHtmlObj: [
                  {
                    formType: "sectionDesc",
                    label: "预约上门时间<br>商家同意退货后将按时上门，若商家未及时同意，快递员上门前会与您确认时间",
                    labelCssStyle: "width:100%",
                    cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1.5rem;padding-top:0;background: #FFFFFF;"
    
                  },
                  {
                    formType: "chooseTimeRange",
                    formKey: "chooseTime1",
                    itemListCssStyle: "", // 没有选中时的框
                    itemListCheckedCssStyle: "", // 有选中时的框
                    label: "",
                    value: '', // 2022-05-05 08:00-09:00
                    valueCssStyle: "", // 选中 字
                    placeholderCssStyle: ";", // 没有选中 字
                    multiSelect: true,
                    maxSize: 30, // 天数范围
                    minSize: 1, // 当天从0 开始 默认 0
                    min: 1, // 从当前时间开始往后多个小时开始显示为有效时间
                    extra: "1", // 0 不显示 "上午 下午 晚上"
                    showValue: '',
                    daysList: [ // 本地控制
                      //   {
                      //   label: "5月5日(今天)",
                      //   value: '2022-05-05',
                      //   check: true
                      // },
                      // {
                      //   label: "5月6日(明天)",
                      //   value: '2022-05-06',
                      //   check: false,
                      // }
                    ],
                    itemList: [  // 本地控制 时间
                      //   {
                      //     label: "8:00-9:00",
                      //     value: '08:00-09:00',
                      //     check: true
                      //   },
                      //   {
                      //     label: "8:00-9:00",
                      //     value: '08:00-09:00',
                      //     check: false
                      //   },
                    ]
                  }
                  , {
                    formType: "addItemCountList",
                    label: "",
                    formKey: "wxbxlist",
                    tips: '',
                    value: "",
                    showValue: '',
                    extra: "",
                    unit: "台/个/套", // 单位
                    showValueCssStyle: "",
                    valueCssStyle: "",
                    icon: 'http://icon', //
                    itemList: [
    
                      {
                        icon: "http",
                        unit: "105", // 单价 备用
                        valueN: "1000", // 规格编号
                        label: "窗帘（宽大于3米）", // labelCssStyle
                        tagLabel: "￥105/套", //  valueCssStyle
                        value: '0', // 数量
                        minValue: '0', // 最小数量 默认1
    
                      }, {
                        icon: "http",
                        unit: "115", // 单价 备用
                        valueN: "1001", // 规格编号
                        label: "窗帘（宽大于5米）", // labelCssStyle
                        tagLabel: "￥115/套", //  valueCssStyle
                        value: '0', // 数量
    
                      }, {
                        icon: "http",
                        unit: "118", // 单价 备用
                        valueN: "1002", // 规格编号
                        label: "窗帘（宽大于8米）", // labelCssStyle
                        tagLabel: "￥118/套", //  valueCssStyle
                        value: '0', // 数量
    
                      }, ]
                  },
                  {
                    formType: "chooseTime",
                    formKey: "chooseTime",
                    itemListCssStyle: "", // 没有选中时的框
                    itemListCheckedCssStyle: "", // 有选中时的框
                    label: "",
                    value: '', // 2022-05-05 08:00
                    valueCssStyle: "", // 选中 字
                    placeholderCssStyle: ";", // 没有选中 字
                    multiSelect: true,
                    maxSize: 30, // 天数范围
                    min: 1, // 从当前时间开始往后多个小时开始显示为有效时间
                    showValue: '',
                    unit: 0, // 22 2-6
                    daysList: [ // 本地控制
                      // {
                      // label: "5月5日(今天)",
                      // value: '2022-05-05',
                      // check: true
                      // },
                      // {
                      //   label: "5月6日(明天)",
                      //   value: '2022-05-06',
                      //   check: false,
                      // },
                      // {
                      //   label: "5月7日(周x)",
                      //   value: '2022-05-07',
                      //   check: false,
                      // },
    
                      // },
                    ],
                    itemList: [  // 本地控制 时间
                      // {
                      //   label: "8:00",
                      //   value: '08:00',
                      //   check: true
                      // },
                      // {
                      //   label: "8:30",
                      //   value: '08:30',
                      //   check: false,
    
                      // },
                      // {
                      //   label: "9:00",
                      //   value: '09:00',
                      //   check: false,
    
                    ]
                  },
    
                ]
              },
              {
                formType: "addItemCount",
                label: "冰箱维修",
                formKey: "wxbx",
                tips: '',
                value: 1,
                showValue: '50',
                extra: "￥",
                showValueCssStyle: "",
                valueCssStyle: "",
                icon: 'http://icon' //
              },
              {
                formType: "addItemCount",
                label: "冰箱维修-只有文字",
                formKey: "wxbx1",
                tips: '',
                value: 1,
                showValue: '',
                extra: "",
                showValueCssStyle: "",
                valueCssStyle: "",
                icon: '' //
              },
              {
                cssStyle: 'background: white;',
                formType: "addItemCount",
                label: "换货数量<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span><span style='font-size: 0.75rem;color: #666666;'>(最多可申请3个)</span>",
                labelCssStyle: 'font-size: 1rem;',
                formKey: "hhsl",
                tips: '',
                value: 1,
                showValue: '',
                extra: "",
                showValueCssStyle: "",
                valueCssStyle: "height:1.4rem;background:white;border-left:0.03rem solid #B3B3B3;border-right:0.03rem solid #B3B3B3;border-radius:0;", // 数量样式
                endIconCssStyle: "border-radius:0.5rem;height:1.56rem;border:0.03rem solid #B3B3B3;padding:0 0.56rem;", // 数量框样式
                icon: '', //
              },
              {
                formType: "itemDetail",
                label: "日常维修-link",
                formKey: "",
                value: "详情",
                labelCssStyle: "",
                valueCssStyle: "",
                icon: 'http://icon', //
                endIcon: "../../../assets/icon/release_icon_arrow_right@2x.png", // 配置
    
                link: {
                  type: 'pageModal',
                  params: {},
                  target: '1122'
                },
              },
    
              {
                formType: "serviceDate",
                label: "",
                compare: true,
                lessTip: "", //  最大值小于最小值时提示
                equalTip: "", // 最大值等于最小值时提示
                // extra: '平米', // 不能与动态单位选择共存
                canEqual: true, // 是否可以相等
    
                subHtmlObj: [
                  {
                    formType: "datePlug",
                    formKey: 'min_date',
                    placeHolder: "最小",
                    mode: "date",
                    value: "",
                    label: "服务开通时间",
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "请填写最小"
                      }
                    ],
                  },
                  {
                    formType: "datePlug",
                    formKey: 'max_date',
                    mode: "date",
                    label: "服务结束时间",
                    placeHolder: "最大",
    
                    value: "",
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "填写最大"
                      }
                    ]
                  },
                  { //  注意顺序
                    formType: "textInput",
                    formKey: 'service_period',
                    value: 1,
                    label: "服务周期",
                    showValue: '1天',
                    disabled: true
                  }
                ]
              },
              {
                formType: "userInfo",
                label: "您对服务人员满意吗？",
                formKey: "",
                tips: '已匿名',
                value: '王海燕',
                icon: 'http://icon' // 头像
    
              },
              {
                formType: "switchButtonMark",
                label: "",
                formKey: "switchButtonMark",
                multiSelect: false,
                value: '1',
    
                itemList: [
                  {
                    label: "不满意",
                    value: "0",
                    icon: "../../../assets/icon/release_icon_contact@3x.png", // 未勾选图 http
                    iconOn: "../../../assets/icon/release_icon_contact@3x.png", // 勾选图 http
                    check: false
                  }, {
                    label: "满意",
                    value: "1",
                    icon: "../../../assets/icon/release_icon_contact@3x.png", // 未勾选图 http
                    iconOn: "../../../assets/icon/release_icon_contact@3x.png", // 勾选图 http
                    check: true
                  },
    
                ],
                rules: [
                ],
                subHtmlObj: [
                  {
                    formType: "switchButtonMarkTag",
                    label: "",
                    formKey: "switchButtonMarkTag",
                    multiSelect: true,
                    value: '1',
                    showCondition: "1",
                    itemList: [
                      {
                        label: "主动电话沟通",
                        value: "1",
                        check: false
                      },
                      {
                        label: "准时上门",
                        value: "2",
                        check: true
                      },
                      {
                        label: "主动展示健康证",
                        value: "3",
                        check: false
                      },
                      {
                        label: "收纳能力强",
                        value: "4",
                        check: false
                      }
    
                    ],
                    rules: [
                    ],
    
                  },
                  {
                    formType: "switchButtonMarkTag",
                    label: "请选择原因，我们会督促服务人员",
                    formKey: "switchButtonMarkTag",
                    multiSelect: true,
                    value: '1',
                    showCondition: "0",
                    itemList: [
                      {
                        label: "不准时",
                        value: "1",
                        check: false
                      },
                      {
                        label: "态度不好",
                        value: "2",
                        check: false
                      },
                      {
                        label: "无责任心",
                        value: "3",
                        check: false
                      },
                      {
                        label: "做事拖拉",
                        value: "4",
                        check: false
                      }
    
                    ],
                    rules: [
                    ],
    
                  }
                ]
              },
              {
                compare: false,
                formType: "citySelectLJ",
                cssStyle: "",
                showValueCssStyle: "margin-left:0rem",
                valueCssStyle: "border:unset;border-bottom: 0.03rem solid #e8eaed;border-radius:0rem;margin-right:1.25rem",
                endIcon: "../../../assets/icon/release_icon_arrow_right@2x.png",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                // submit: {
                //   isManualBinding: false,
                //   doEventFirst: false,
                //   isScript: false,
                //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                //   isDisabled: false,
                //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                // },
                formKey: "city_id",
                link: {
                  dataStr: false,
                  isScript: false,
                  isArray: true,
                  isDisabled: false,
                  isMajorPic: false,
                  type: "modal",
                  target: "52329"
                },
                label: "城市",
                subHtmlObj: [
                  {
                    cssStyle: "",
                    valueCssStyle: "border:unset;border-bottom: 0.03rem solid #e8eaed;border-radius:0rem;",
                    endIcon: "../../../assets/icon/release_icon_arrow_right@2x.png",
                    compare: false,
                    formType: "pickerSelectLJ",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "district_id",
    
                    rules: [
                      {
                        name: "required",
                        message: "请选择区域",
                        value: "false"
                      }
                    ],
                    label: "区域",
                    placeHolder: "请选择"
                  }
                ],
                appType: "LJ",
                placeHolder: "请选择"
              },
              {
                compare: false,
                formType: "citySelectLJ",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                // submit: {
                //   isManualBinding: false,
                //   doEventFirst: false,
                //   isScript: false,
                //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                //   isDisabled: false,
                //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                // },
                formKey: "city_id",
                link: {
                  dataStr: false,
                  isScript: false,
                  isArray: true,
                  isDisabled: false,
                  isMajorPic: false,
                  type: "modal",
                  target: "52329"
                },
                label: "城市",
                subHtmlObj: [
                  {
                    compare: false,
                    formType: "pickerSelectLJ",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "district_id",
    
                    rules: [
                      {
                        name: "required",
                        message: "请选择区域",
                        value: "false"
                      }
                    ],
                    label: "区域",
                    placeHolder: "请选择"
                  }
                ],
                appType: "LJ",
                placeHolder: "请选择"
              },
              {
                formType: "singleColumnSelectTwoLine",
                formKey: "gongzhong1",
                label: "入驻工种",
                placeHolder: "singleColumnSelectTwoLine",
                value: 0,
                showValue: '',
                labelCssStyle: '',
                valueCssStyle: '',
                cssStyle: 'background: #FFB366',
                sepCssStyle: 'background: #FF9546',
                placeholderCssStyle: 'color: #B36A36',
                endIcon: 'http:',
                // disabled: false,
                data: [
                  {
                    label: "水电工",
                    value: 0
                  },
                  {
                    label: "瓦工",
                    value: 1
                  }, {
                    label: "木工",
                    value: 2
                  },
    
                ],
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择工种"
                  }
                ]
              },
    
              {
                formType: "airBubbles",
                sepCssStyle: '', // 箭头样式备用
                value: "您可以选择做业务和承接劳务二选一或者全选，做蜂喔房产、装修、建材家居家电直销业务只需500元入驻费；承接各项维修维护、保洁家政等劳务免入驻费",
    
              },
              {
                formType: "switchButtonJoin",
                label: "",
                formKey: "switchButtonJoin",
                multiSelect: false,
                value: '',
                icon: "", // 未勾选图
                iconOn: "", // 勾选图
                itemList: [
                  {
                    label: "物业租售与商铺<br>转让业务",
                    value: "0",
                    icon: "../../../assets/icon/release_icon_contact@3x.png",
    
                    check: false
                  }, {
                    label: "住宅与商铺<br>装修业务",
                    value: "2",
                    icon: "../../../assets/icon/release_icon_contact@3x.png",
    
                    check: false
                  },
                  {
                    label: "建材家居家电<br>的直销业务",
                    value: "1",
    
                    icon: 'https://',
                    check: true
                  }
                ],
                rules: [
                ],
              },
              {
                formType: "pickerSelectJoin",
                formKey: "district_join",
                labelCssStyle: 'color: #401406',
                valueCssStyle: 'color: #401406',
                cssStyle: 'background: #E6755C',
                sepCssStyle: 'background: #A12B12',
                placeholderCssStyle: 'color: #8C3215',
                placeHolder: "请选择",
                label: "服务城市pickerSelectJoin",
                endIcon: 'http:',
                value: "", // , 拼接id
                data: [
                  {
                    label: "广东",
                    value: "440303",
                    children: [{
                      label: "罗湖区",
                      value: "440303",
                      children: [
                        {
                          label: "蔡屋围",
                          value: "44030301",
                          children: null
                        },
                        {
                          label: "国贸",
                          value: "44030302",
                          children: null
    
                        }]
                    },
                    {
                      label: "福田区",
                      value: "440304",
                      children: [
                        {
                          label: "上啥",
                          value: "44030401",
                          children: null
                        },
                        {
                          label: "下沙",
                          value: "44030403",
                          children: null
                        }]
                    }]
                  },
                  {
                    label: "广西",
                    value: "450301",
                    children: []
                  },
                ],
    
                rules: [
                ]
              },
              {
                formType: "singleColumnSelectJoin",
                formKey: "gongzhong",
                label: "入驻工种",
                placeHolder: "请选择",
                value: 0,
                showValue: '',
                labelCssStyle: '',
                valueCssStyle: '',
                cssStyle: 'background: #FFB366',
                sepCssStyle: 'background: #FF9546',
                placeholderCssStyle: 'color: #B36A36',
                endIcon: 'http:',
                // disabled: false,
                data: [
                  {
                    label: "水电工",
                    value: 0
                  },
                  {
                    label: "瓦工",
                    value: 1
                  }, {
                    label: "木工",
                    value: 2
                  },
    
                ],
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择工种"
                  }
                ]
              },
              {
                formType: "textAreaLJ",
                formKey: "markJoin",
                // maxLength: 260, // 不配置 字数统计
                cssStyle: 'border: unset;',
                valueCssStyle: 'background: #FFB366;border-radius: 0.75rem;font-size: 0.81rem;font-weight: bold;color: #402806;line-height: 1.06rem;padding-left: 0.25rem;',
                placeholderCssStyle: '',
                value: '',
                hasBorder: true, // 有边框
                placeHolder: "请填写面谈备注",
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请填写面谈备注",
                  }
                ]
    
              },
              {  // 入驻 links
    
                formType: "joinLinks",
                value: '',
                formKey: "read",
                label: "我已阅读并同意",
                cssStyle: "", //
                icon: 'http', // 未勾选
                iconOn: 'http', // 勾选
                itemList: [
                  {
                    label: '《蜂喔用户协议》',
                    link: {
                      type: "pageModal",
                      target: "52329",
                      params: {}
                    }
                  }
                  , {
                    label: '《隐私政策》',
                    link: {
                      type: "pageModal",
                      target: "52329",
                      params: {}
                    }
                  }
                  , {
                    label: '《入驻协协议》',
                    link: {
                      type: "pageModal",
                      target: "52329",
                      params: {}
                    }
                  }
    
                ],
    
                rules: [
    
                  {
                    name: "required",
                    message: "请勾选通用协议",
                    value: "true"
                  }
                ]
              },
              {
                formType: "multipleColumnSelectJoin",
                formKey: "kaidian",
                label: "开店区域",
                placeHolder: "multipleColumnSelectJoin",
                value: '',
                showValue: '',
                endIcon: 'icon_sheji_arrow.png', // 请配置 右边箭头http：
                showCheckAll: 'false', // 是否展示全选
                data: [
                  {
                    label: "不限",
                    value: '0',
                    check: true,
                    radio: true // 与其余项 互斥
                  },
                  {
                    label: "南山",
                    value: '1',
                    check: true
                  },
                  {
                    label: "罗湖",
                    value: '2',
                    check: true
                  },
                  {
                    label: "宝安",
                    value: '3',
                    check: false
                  },
                ],
                rules: [
                ]
              },
              {
                compare: false,
                formType: "textInputJoin",
                textType: "number",
                hidden: false,
                sepCssStyle: 'background: #FFC859;', // 分割线样式
                placeholderCssStyle: '--placeholder-color:#B3823E;', // placeholder 样式
                valueCssStyle: '--placeholder-color:#B3823E;font-size: 0.81rem;font-weight: bold;color: #402806;',
                formKey: "tr_fee1",
                rules: [
                  {
                    name: "pattern",
                    message: "请填写",
                    value: ".{0,50}"
                  },
                  {
                    name: "required",
                    message: "请填写",
                    value: "true"
                  }
                ],
                label: "您的姓名1",
                maxLength: 4,
                placeHolder: "请填写"
              },
              {
    
                formType: "modalMultipleSelect3_Full",
                label: "技能维修",
                formKey: "wxskill11",
                placeHolder: "请选择",
                endIcon: 'http',
                secondMax: 0, // 二级可以选 默认0 不限制
                thirdMax: 0, // 三级 可以选 默认0 不限制
                showCheckAll: "false",
                value: '',
                children: [
                  {
                    label: "水电维修",
                    value: "11",
                    children: [
                      {
                        label: "电路(检修)",
                        value: "1101",
                        children: []
                      },
                      {
                        label: "水管",
                        value: "1102",
                        children: [
                        ]
                      },
                      {
                        label: "浴霸",
                        value: "1103",
                        tips: "请选择维修品牌(选填)",
                        children: [{
                          label: "奥普",
                          value: "1103001",
                          children: null
                        },
                        {
                          label: "欧普照明",
                          value: "1103002",
                          children: null
                        },
                        {
                          label: "雷士",
                          value: "1103003",
                          children: null
                        },
                        {
                          label: "美的",
                          value: "1103004",
                          children: null
                        },
                        {
                          label: "飞利浦",
                          value: "1103005",
                          children: null
                        },
                        {
                          label: "TCL",
                          value: "1103006",
                          children: null
                        },
                        {
                          label: "松下",
                          value: "1103007",
                          children: null
                        }, {
                          label: "小米",
                          value: "1103008",
                          children: null
                        }, {
                          label: "海尔",
                          value: "1103009",
                          children: null
                        }]
                      }
                      ,
                      {
                        label: "新一级能效",
                        value: "1104",
                        children: []
                      },
                      {
                        label: "空调挂机",
                        value: "1105",
                        children: []
                      }
                    ]
    
                  },
                  {
                    label: "地面",
                    value: "12",
                    children: [
                      {
                        label: "地面材料",
                        value: "1201",
                        children: [
                          {
                            label: "瓷砖",
                            value: "1201001",
                            children: null
                          },
                          {
                            label: "木地板",
                            value: "1201002",
                            children: null
                          }]
                      }]
                  },
                  {
                    label: "测试仅2级",
                    value: "13",
                    children: [
                      {
                        label: "测试2级1",
                        value: "1301",
                        children: [
                        ]
                      },
                      {
                        label: "测试2级2",
                        value: "1302",
                        children: [
                        ]
                      },
                      {
                        label: "测试2级3",
                        value: "1303",
                        children: [
                        ]
                      }
                    ]
                  }
                ]
                ,
              },
              {
                // <!-- 维修预估价格 -->
                formType: "estimatePrice",
                formKey: "estimatePrice",
                label: "空调维修",
                value: '113',
                tips: "预估价格",
                unit: "/台"
              },
              {
                formType: "switchButtonFW_3",
                formKey: "wy13",
                itemListCssStyle: "height: 2.75rem;background: #FFD88F;box-shadow: inset 0rem 0rem 0.19rem 0rem rgba(255, 255, 255, 0.5);border-radius: 0.5rem;", // 没有选中时
                itemListCheckedCssStyle: "height: 2.75rem;background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 251, 242, 0.9) 100%);box-shadow: inset 0rem 0rem 0.5rem 0rem #FFC859;border-radius: 0.5rem;border: none;", // 有选中时
                label: "switchButtonFW_3_max_1",
                value: '',
                valueCssStyle: "font-size: 0.81rem;font-weight: bold;color: #4D1F20;", // 选中 字
                placeholderCssStyle: "font-size: 0.81rem;font-weight: bold;color: #48300C;", // 没有选中 字
                valueNCssStyle: "font-size: 0.81rem;font-weight: bold;color: #4D1F20;", // 新增上行文字选中 字
                placeholderNCssStyle: "font-size: 0.81rem;font-weight: bold;color: #48300C;", // 新增上行文字 没有选中 字
                extraCssStyle: "font-size: 0.81rem;font-weight: bold;color: #4D1F20;", // 单位样式
                multiSelect: false,
                showValue: '',
                maxSize: 3,
                itemList: [
    
                  {
                    unit: "￥",
                    valueN: "720", // 新增上行文字
                    label: "2居",
                    value: '1',
                    check: true
                  },
                  {
                    label: "发布多物业",
                    value: '2',
                    check: false,
    
                  },
                  {
                    label: "4居",
                    value: '3',
                    check: false
                  },
                  {
                    label: "4居以上",
                    value: '5',
                    check: false
                  },
                ]
              }
              ,
              {
                formType: "switchButtonFW",
                formKey: "wy1",
    
                label: "您想租几居室？",
                value: '',
                multiSelect: true,
                showValue: '',
                itemList: [
                  {
                    label: "请填写",
                    value: '0',
                    check: false,
                    radio: true // 与其余项 互斥
                  },
                  {
                    label: "2居",
                    value: '1',
                    check: true
                  },
                  {
                    label: "发布多物业",
                    value: '2',
                    check: false,
                    link: {
                      type: "page",
                      target: "52329",
                      params: {}
                    },
                  },
                  {
                    label: "4居",
                    value: '3',
                    check: false
                  },
                  {
                    label: "4居以上",
                    value: '5',
                    check: false
                  },
                ],
                subHtmlObj: [
    
                  {
                    compare: false,
                    formType: "textInput",
                    textType: "number",
                    hidden: false,
                    formKey: "tr_fee",
                    rules: [
                      {
                        name: "pattern",
                        message: "请填写",
                        value: ".{0,50}"
                      },
                      {
                        name: "required",
                        message: "请填写",
                        value: "true"
                      }
                    ],
                    label: "",
                    maxLength: 4,
                    placeHolder: "请填写"
                  }],
    
                rules: [
                ]
              },
              {
                formType: "switchButtonFW",
                formKey: "wy11",
                label: "选择您需要的服务",
                value: '',
                multiSelect: true,
    
                showValue: '',
                itemList: [
    
                  {
                    label: "日常清洁",
                    value: '1',
                    icon: "http",
                    check: true
                  },
                  {
                    label: "家具清洁",
                    value: '2',
                    icon: "http",
                    check: false,
    
                  },
                  {
                    label: "电器清洁",
                    value: '3',
                    icon: "http",
                    check: false
                  }
                ],
    
                rules: [
                ]
              },
    
              {
                formType: "switchButtonFW",
                formKey: "wy12",
                label: "选择具体维修类别",
                value: '',
                multiSelect: false,
    
                showValue: '',
                itemList: [
    
                  {
                    label: "空调",
                    value: '1',
    
                    check: true
                  },
                  {
                    label: "冰箱",
                    value: '2',
    
                    check: false,
    
                  },
                  {
                    label: "洗衣机",
                    value: '3',
    
                    check: false
                  }
                ],
                subHtmlObj: [
    
                  {
                    // <!-- 维修预估价格 -->
                    formType: "estimatePrice",
                    formKey: "estimatePrice",
                    label: "空调维修",
                    value: '113',
                    tips: "预估价格",
                    unit: "/台",
                    showCondition: "1",
    
                  },
                  {
                    // <!-- 维修预估价格 -->
                    formType: "estimatePrice",
                    formKey: "estimatePrice",
                    label: "冰箱维修",
                    value: '115',
                    tips: "预估价格",
                    unit: "/台",
                    showCondition: "2",
    
                  },
                  {
                    // <!-- 维修预估价格 -->
                    formType: "estimatePrice",
                    formKey: "estimatePrice",
                    label: "洗衣机维修",
                    value: '110',
                    tips: "预估价格",
                    unit: "/台",
                    showCondition: "3",
    
                  },
    
    
                ],
    
                rules: [
                ]
              },
              {
                formType: "switchButtonLJ_icon",
                label: "您想转让、出租还是出售？",
                formKey: "switchButtonLJ_icon",
                multiSelect: false,
                value: '',
                itemList: [
                  {
                    label: "我要买房",
                    value: "0",
                    icon: "../../../assets/icon/release_icon_contact@3x.png",
                    tagLabel: "精选好房",
                    changeTitleLabel: "告诉我们您的租房需求<br>立即为您推荐合适房源",
                    check: false
                  }, {
                    label: "我要转让",
                    value: "2",
                    icon: "../../../assets/icon/release_icon_contact@3x.png",
                    tagLabel: "精选好房",
                    changeTitleLabel: "告诉我们您的购房需求<br>立即为您推荐合适房源",
                    check: false
                  },
                  {
                    label: "我要租房",
                    value: "1",
                    tagLabel: "快速成交",
                    icon: 'https://',
                    check: true
                  }
                ],
                rules: [
                ],
              },
              {
                formType: "slider",
                label: "您的租房预算是多少？",
                formKey: "slider",
                multiSelect: true,
                value: "100",
                unit: '万',
                step: 100, // 滑动步长
                itemList: [
                  {
                    label: "",
                    value: "100", // 最小值
    
                  },
                  {
                    label: "",
                    value: "2000",
    
                  },
                  {
                    label: "",
                    value: "4000",
    
                  },
                  {
                    label: "",
                    value: "6000",
    
                  },
                  {
                    label: "",
                    value: "8000",
    
                  },
                  {
                    label: "1万", // 优先展示
                    value: "10000",
                  },
                  {
                    label: "1万+", //
                    value: "11000", // 最大值
                  }
                ],
                rules: [
                ],
              },
              {
                formType: "formHeader",
                label: "为您提供免费设计服务",
    
              },
              {
                formType: "sectionDesc",
                label: "您有户型图了吗？",
                labelCssStyle: "width:100%",
                cssStyle: "font-size: 1.38rem;font-weight: bold;color: #0F0F0F;line-height: 1.63rem;margin-top:1.25rem;padding-left:1.5rem;background: #FFFFFF;"
    
              },
              {
                formType: "sectionDesc",
                label: "为您推荐个性化设计服务",
                labelCssStyle: "width:100%",
                cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.5rem;margin-bottom:0.5rem;padding-left:1.5rem;background: #FFFFFF;"
    
              },
              {
                formType: "sectionDesc",
                label: "①搜索小区名获取户型图免费生成设计",
                labelCssStyle: "width:100%",
                cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.5rem;margin-bottom:0.5rem;padding-left:1.5rem;background: #FFFFFF;padding-bottom: 0;"
    
              },
    
              {
                formType: "designItem",
                label: "搜索小区名获取",
                endIcon: 'icon_sheji_arrow.png',
                link: {
                  type: "page",
                  target: "52329",
                  params: {}
                },
                cssStyle: "height: 3.5rem;background: #FFFFFF;box-shadow: 0rem 0.19rem 1rem 0rem rgba(15, 15, 15, 0.05);border-radius: 0.5rem;border: 0.03rem solid #F0F0F0;",
                labelCssStyle: "font-size: 0.94rem;font-weight: bold;color: #0F0F0F;"
              },
              {
                formType: "designItem",
                label: "维修师傅",
                placeHolder: "家电水电维修安装/房屋维修/开换锁",
                placeholderCssStyle: "font-size: 0.69rem;color: #995817;line-height: 0.94rem;position: relative;z-index: 2;margin-top:0.38rem;display:block",
                endIconCssStyle: "width:5.63rem;height:5.25rem;position: absolute;right: 0;bottom: 0;z-index: 1;",
                endIcon: 'http:',
    
                cssStyle: "padding:0 1.25rem;height: 5.25rem;background: linear-gradient(135deg, #FFF9E6 0%, #FFEECC 100%, rgba(255, 249, 231, 0.5) 100%);border-radius: 0.5rem;position: relative;z-index: 1;display: flex;align-items: center;",
                labelCssStyle: "font-size: 1rem;font-weight: bold;color: #4D2E10;line-height: 1.25rem;position: relative;z-index: 2;display: flex;flex-direction: column;",
    
                link: {
                  type: "page",
                  target: "52329",
                  params: {}
                }
              },
    
              {
                formType: "designItem",
                label: "家电清洗",
                placeHolder: "深度清洁，冰箱、洗衣机、抽油烟机等",
                placeholderCssStyle: "font-size: 0.69rem;color: #808080;line-height: 0.94rem;position: relative;z-index: 2;margin-top:0.38rem;display:block",
                leftIconCssStyle: "width:2.5rem;height:2.5rem;margin-right:1rem",
                leftIcon: 'http:',
                endIcon: 'XXX',
                cssStyle: "padding:0 1rem;height: 5.25rem;background: #FFFFFF;box-shadow: 0rem 0.19rem 1rem 0rem rgba(15, 15, 15, 0.05);border-radius: 0.5rem;border: 0.03rem solid #F0F0F0;position: relative;z-index: 1;display: flex;align-items: center;",
                labelCssStyle: "font-size: 1rem;font-weight: bold;color: #0F0F0F;line-height: 1.25rem;position: relative;z-index: 2;display: flex;flex-direction: column;",
    
                link: {
                  type: "page",
                  target: "52329",
                  params: {}
                }
              },
              {
                formType: "pickerSelectDesign", //
                formKey: "district_design",
                placeHolder: "请选择",
                label: "房屋城市",
                value: "", // , 拼接id
                data: [
                  {
                    label: "广东",
                    value: "440303",
                    children: [{
                      label: "罗湖区",
                      value: "440303",
                      children: [
                        {
                          label: "蔡屋围",
                          value: "44030301",
                          children: null
                        },
                        {
                          label: "国贸",
                          value: "44030302",
                          children: null
    
                        }]
                    },
                    {
                      label: "福田区",
                      value: "440304",
                      children: [
                        {
                          label: "上啥",
                          value: "44030401",
                          children: null
                        },
                        {
                          label: "下沙",
                          value: "44030403",
                          children: null
                        }]
                    }]
                  },
                  {
                    label: "广西",
                    value: "450301",
                    children: []
                  },
                ],
    
                rules: [
                ]
              },
              {
                subHtmlObj: [
                  {
                    compare: false,
                    formType: "columSelect",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    data: [
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "1室",
                        isMajorPic: false,
                        value: "1"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "2室",
                        isMajorPic: false,
                        value: "2"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "3室",
                        isMajorPic: false,
                        value: "3"
                      }
                    ],
                    hidden: false,
                    formKey: "room_type11",
                    value: "2"
                  },
                  {
                    compare: false,
                    formType: "columSelect",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    data: [
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "1厅",
                        isMajorPic: false,
                        value: "1"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "2厅",
                        isMajorPic: false,
                        value: "2"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "3厅",
                        isMajorPic: false,
                        value: "3"
                      }
                    ],
                    hidden: false,
                    formKey: "room_hall11",
                    value: "3"
                  },
                  {
                    compare: false,
                    formType: "columSelect",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    data: [
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "1卫",
                        isMajorPic: false,
                        value: "1"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "2卫",
                        isMajorPic: false,
                        value: "2"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "3卫",
                        isMajorPic: false,
                        value: "3"
                      }
                    ],
                    hidden: false,
                    formKey: "room_bit11",
                    value: "2"
                  }
                ],
                compare: false,
                formType: "modalMultipleFormKeySelectDesign",
                showValue: "2室3厅2卫",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                label: "房型",
                value: "0",
                placeHolder: "请选择",
                multiSelect: true
              },
              {
                formType: "modalOfMoreItemsDesign",
                label: "小区名称",
                showLabel: true,
                placeHolder: "请选择",
                showSearchModal: true,
                hasAddNew: true, // 默认 true， 表示可以新增
                showIndex: 0, // 表示要显示第几个子项的值
                subHtmlObj: [
    
                  {
                    compare: false,
                    formType: "textInput",
                    hidden: false,
                    formKey: "name",
                    rules: [
                      {
                        name: "pattern",
                        message: "请填写正确小区名称",
                        value: ".{0,50}"
                      },
                      {
                        name: "required",
                        message: "请填写小区名称",
                        value: "true"
                      }
                    ],
                    label: "小区名称",
                    maxLength: 50,
                    placeHolder: "请填写"
                  }, {
                    subHtmlObj: [
                      {
                        compare: false,
                        formType: "citySelect",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        // submit: {
                        //   isManualBinding: false,
                        //   doEventFirst: false,
                        //   isScript: false,
                        //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                        //   isDisabled: false,
                        //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                        // },
                        formKey: "city_id",
                        link: {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          isMajorPic: false,
                          type: "modal",
                          target: "52329"
                        },
                        label: "城市",
                        subHtmlObj: [
                          {
                            compare: false,
                            formType: "pickerSelect",
                            canEqual: false,
                            checkAll: false,
                            expression: true,
                            hidden: false,
                            formKey: "district_id",
    
                            rules: [
                              {
                                name: "required",
                                message: "请选择区域",
                                value: "false"
                              }
                            ],
                            label: "区域",
                            placeHolder: "请选择"
                          }
                        ],
                        appType: "LJ",
                        placeHolder: "请选择"
                      },
                      {
                        subHtmlObj: [
                          {
                            compare: false,
                            formType: "detailAddress_location",
                            canEqual: false,
                            checkAll: false,
                            expression: true,
                            hidden: false,
                            formKey: "location",
                            appType: "LJ",
                            rules: [
                              {
                                name: "required",
                                message: "请选择详细地址",
                                value: "false"
                              }
                            ]
                          }
                        ],
                        compare: false,
                        formType: "detailAddress",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        formKey: "address",
                        appType: "LJ",
                        label: "详细地址",
                        placeHolder: "请设置地址"
                      },
                    ],
                    compare: false,
                    formType: "selectAddressWidget",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "Daddress",
                    appType: "LJ",
                    rules: [
                      {
                        name: "required",
                        message: "请设置地址",
                        value: "false"
                      }
                    ],
                    label: "我的店铺在",
                    placeHolder: "请填写"
                  }
                ]
              },
              {
                formType: "modalOfMoreItemsFW",
                label: "所在小区是？",
                showLabel: true,
                placeHolder: "请选择",
                showSearchModal: true,
                hasAddNew: true, // 默认 true， 表示可以新增
                showIndex: 0, // 表示要显示第几个子项的值
                subHtmlObj: [
    
                  {
                    compare: false,
                    formType: "textInput",
                    hidden: false,
                    formKey: "name",
                    rules: [
                      {
                        name: "pattern",
                        message: "请填写正确小区名称",
                        value: ".{0,50}"
                      },
                      {
                        name: "required",
                        message: "请填写小区名称",
                        value: "true"
                      }
                    ],
                    label: "小区名称",
                    maxLength: 50,
                    placeHolder: "请填写"
                  }, {
                    subHtmlObj: [
                      {
                        compare: false,
                        formType: "citySelect",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        // submit: {
                        //   isManualBinding: false,
                        //   doEventFirst: false,
                        //   isScript: false,
                        //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                        //   isDisabled: false,
                        //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                        // },
                        formKey: "city_id",
                        link: {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          isMajorPic: false,
                          type: "modal",
                          target: "52329"
                        },
                        label: "城市",
                        subHtmlObj: [
                          {
                            compare: false,
                            formType: "pickerSelect",
                            canEqual: false,
                            checkAll: false,
                            expression: true,
                            hidden: false,
                            formKey: "district_id",
    
                            rules: [
                              {
                                name: "required",
                                message: "请选择区域",
                                value: "false"
                              }
                            ],
                            label: "区域",
                            placeHolder: "请选择"
                          }
                        ],
                        appType: "LJ",
                        placeHolder: "请选择"
                      },
                      {
                        subHtmlObj: [
                          {
                            compare: false,
                            formType: "detailAddress_location",
                            canEqual: false,
                            checkAll: false,
                            expression: true,
                            hidden: false,
                            formKey: "location",
                            appType: "LJ",
                            rules: [
                              {
                                name: "required",
                                message: "请选择详细地址",
                                value: "false"
                              }
                            ]
                          }
                        ],
                        compare: false,
                        formType: "detailAddress",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        formKey: "address",
                        appType: "LJ",
                        label: "详细地址",
                        placeHolder: "请设置地址"
                      },
                    ],
                    compare: false,
                    formType: "selectAddressWidget",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "Daddress",
                    appType: "LJ",
                    rules: [
                      {
                        name: "required",
                        message: "请设置地址",
                        value: "false"
                      }
                    ],
                    label: "我的店铺在",
                    placeHolder: "请填写"
                  }
                ]
              },
              {
                formType: "sectionDesc",
                label: "服务时间",
                labelCssStyle: "width:100%",
                cssStyle: "font-size: 1.38rem;font-weight: bold;color: #0F0F0F;line-height: 1.63rem;margin-top:1.25rem;padding-left:1.5rem;padding-bottom:0;background: #FFFFFF;"
              },
              {
                formType: "sectionDesc",
                label: "已为您推荐上门服务时间，点击可修改期望上门时间",
                labelCssStyle: "width:100%",
                cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1.5rem;padding-top:0;background: #FFFFFF;"
    
              },
              {
                formType: "bottomModalOfMoreItemsFW",
                label: "服务时间",
                showLabel: true,
                placeHolder: "请选择",
                showSearchModal: false,
                hasAddNew: false, // 默认 true， 表示可以新增
                showIndex: 0, // 表示要显示第几个子项的值
                modalCssStyle: "bottom", // 底部弹窗
    
                leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
                endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
                leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
                endIcon: 'XXX',
                cssStyle: "padding:0.75rem;height: 2.5rem;align-items: center;display: flex;",
                valueCssStyle: "font-size: 0.88rem;color: #0F0F0F;line-height: 1.13rem;position: relative;z-index: 2;display: flex;flex-direction: column;flex-grow:1",
                placeholderCssStyle: "font-size: 0.88rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1",
    
    
                subHtmlObj: [
                  {
                    compare: false,
                    formType: "textInputLJ",
                    hidden: false,
                    extra: "平方",
                    formKey: "company_name2",
                    rules: [
                      {
                        name: "pattern",
                        message: "请填写正确的面积",
                        value: ".{0,50}"
                      },
                      {
                        name: "required",
                        message: "请填面积",
                        value: "true"
                      }
                    ],
                    labelCssStyle: 'font-size:0.88rem;font-weight: normal',
                    valueCssStyle: 'font-size:1.13rem;font-weight: normal',
                    label: "面积",
                    // extra: "平米",
                    maxLength: 3,
                    placeHolder: "请填写"
                  },
                  {
                    formType: "sectionDesc",
                    label: "温馨提示：<br>1.纯毛、纯棉、黄麻、真丝材料的地毯暂时无法提供服务，还请您给予谅解(可服务地毯的绒毛长度为2-5cm)<br>2.地毯面积不足4平米时，按照4平米收取费用",
                    labelCssStyle: "width:100%",
                    cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1.5rem;padding-top:0;background: #FFFFFF;"
    
                  },
                ]
              },
              {
                subHtmlObj: [
                  {
                    compare: false,
                    formType: "citySelect",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    // submit: {
                    //   isManualBinding: false,
                    //   doEventFirst: false,
                    //   isScript: false,
                    //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                    //   isDisabled: false,
                    //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                    // },
                    formKey: "city_id2",
                    link: {
                      dataStr: false,
                      isScript: false,
                      isArray: true,
                      isDisabled: false,
                      isMajorPic: false,
                      type: "modal",
                      target: "52329"
                    },
                    label: "城市",
                    subHtmlObj: [
                      {
                        compare: false,
                        formType: "pickerSelect",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        formKey: "district_id2",
    
                        rules: [
                          {
                            name: "required",
                            message: "请选择区域",
                            value: "false"
                          }
                        ],
                        label: "区域",
                        placeHolder: "请选择"
                      }
                    ],
                    appType: "LJ",
                    placeHolder: "请选择"
                  },
                  {
                    subHtmlObj: [
                      {
                        compare: false,
                        formType: "detailAddress_location",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        formKey: "location2",
                        appType: "LJ",
                        rules: [
                          {
                            name: "required",
                            message: "请选择详细地址",
                            value: "false"
                          }
                        ]
                      }
                    ],
                    compare: false,
                    formType: "detailAddress",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "address2",
                    appType: "LJ",
                    label: "详细地址",
                    placeHolder: "请设置地址"
                  },
                ],
                compare: false,
                formType: "selectAddressWidget",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                formKey: "Daddress2",
                appType: "LJ",
                rules: [
                  {
                    name: "required",
                    message: "请设置地址",
                    value: "false"
                  }
                ],
                label: "我的店铺在",
                placeHolder: "请填写"
              },
    
              {
                subHtmlObj: [
                  {
                    compare: false,
                    formType: "citySelect",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    // submit: {
                    //   isManualBinding: false,
                    //   doEventFirst: false,
                    //   isScript: false,
                    //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                    //   isDisabled: false,
                    //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                    // },
                    formKey: "city_id1",
                    link: {
                      dataStr: false,
                      isScript: false,
                      isArray: true,
                      isDisabled: false,
                      isMajorPic: false,
                      type: "modal",
                      target: "52329"
                    },
                    label: "城市",
                    subHtmlObj: [
                      {
                        compare: false,
                        formType: "pickerSelect",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        formKey: "district_id1",
    
                        rules: [
                          {
                            name: "required",
                            message: "请选择区域",
                            value: "false"
                          }
                        ],
                        label: "区域",
                        placeHolder: "请选择"
                      }
                    ],
                    appType: "LJ",
                    placeHolder: "请选择"
                  },
                  {
                    subHtmlObj: [
                      {
                        compare: false,
                        formType: "detailAddress_location",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        formKey: "location1",
                        appType: "LJ",
                        rules: [
                          {
                            name: "required",
                            message: "请选择详细地址",
                            value: "false"
                          }
                        ]
                      }
                    ],
                    compare: false,
                    formType: "detailAddress",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "address1",
                    appType: "LJ",
                    label: "详细地址",
                    placeHolder: "请设置地址"
                  },
                ],
                compare: false,
                formType: "selectAddressWidgetLJ",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                formKey: "Daddress1",
                appType: "LJ",
                rules: [
                  {
                    name: "required",
                    message: "请设置地址",
                    value: "false"
                  }
                ],
                label: "我的店铺在",
                placeHolder: "请填写"
              },
    
              {
                formType: "textInputDesign",
                label: "真实姓名",
                formKey: "userName",
                placeHolder: "请填写",
                textType: "text", // text /phone /number password 其他标准 html input type 类型
                editable: true, // 是否可编辑
                // disabled: false, // 是否禁用
                clear: false,  // 是否带清除功能(仅editable为true,disabled为false才生效)
                extra: '元',   // 右边注释 带单位显示文本框
                // endIcon: 'x.png', // 右边小图标
                value: '',     // 提交的值
                minLength: 2,  // 最大长度
                maxLength: 5,  // 最小长度
                max: 99999,    // 最大值
                min: 0,         // 最小值
                rules: [{
                  name: 'required',
                  value: false,
                  message: "真实姓名必填"
                }]
              },
              {
                formType: "modalOfMoreItemsDesign",
                showSureBtn: false, // false不展示确定 默认要true
                showLabel: false, // 不显示标题
                showIndex: 3, // 显示第几项的值
                titleCssStyle: "--border-width: 0 0 0 !important", // 下级页面标题栏样式
                backIcon: "back_left.png", // or "close.png"
                showAnimation: true, // 默认false  是否显示横向动画化进入
                formKey: "",
                label: "装修风格",
                tips: "", //
                placeHolder: "请选择",
                subHtmlObj: [
                  {
                    formType: "footerBtn", // 不做提交，只用于确定 当前选择 返回 ，配合 showSureBtn: false  使用，必须配置在二级表单第一项
                    label: "确定",
                    cssStyle: "", // btn 样式
                  },
                  {
                    formType: "sectionDesc",
                    label: "选择装修风格（可多选）",
                    labelCssStyle: "width:100%",
                    cssStyle: "font-size: 1.38rem;font-weight: bold;color: #0F0F0F;line-height: 1.63rem;margin-top:1.25rem;padding-left:1.25rem;background: #FFFFFF;"
    
                  },
                  {
                    formType: "sectionDesc",
                    label: "我们会根据你选择的风格顺序进行方案生成",
                    labelCssStyle: "width:100%",
                    cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.5rem;margin-bottom:0.5rem;padding-left:1.25rem;background: #FFFFFF;"
    
                  },
                  {
                    formType: "multipleDesignStyleSelect",
                    formKey: "dfg1",
    
                    cssStyle: "color:#0F0F0F,background: #FFC800;", // 勾选样式
                    placeHolder: "",
                    value: '',
                    showValue: '',
                    showCheckAll: 'false',
                    itemList: [
                      {
                        icon: "../../../assets/icon/release_icon_contact@3x.png",
                        label: "北欧",
                        tagLabel: "敬请期待", // 不可以选时候
                        status: "true", // false 不可以选
                        value: '0',
                        check: false,
    
                      },
                      {
                        icon: "https://",
                        label: "日式",
                        tagLabel: "敬请期待", // 不可以选时候
                        status: "true", // true 不可以选
                        value: '1',
                        check: false
                      },
                      {
                        icon: "https://",
                        label: "轻奢",
                        tagLabel: "敬请期待", // 不可以选时候
                        status: true, // true 不可以选
                        value: '2',
                        check: false
                      },
                      {
                        icon: "../../../assets/icon/release_icon_contact@3x.png",
                        label: "现代简约",
                        tagLabel: "敬请期待", // 不可以选时候
                        status: "false", // true 不可以选
                        value: '3',
                        check: false
                      },
                    ],
                    rules: [
                    ]
                  }
                ]
              },
              {
                formType: "multipleDesignStyleSelect",
                formKey: "dfg",
    
                cssStyle: "color:#0F0F0F,background: #FFC800;", // 勾选样式
                placeHolder: "",
                value: '',
                showValue: '',
                showCheckAll: 'false',
                itemList: [
                  {
                    icon: "../../../assets/icon/release_icon_contact@3x.png",
                    label: "北欧",
                    tagLabel: "敬请期待", // 不可以选时候
                    status: "false", // // 不可以选
                    value: '0',
                    check: false,
    
                  },
                  {
                    icon: "https://",
                    label: "日式",
                    tagLabel: "敬请期待", // 不可以选时候
                    status: "false", // false 不可以选
                    value: '1',
                    check: false
                  },
                  {
                    icon: "https://",
                    label: "轻奢",
                    tagLabel: "敬请期待", // 不可以选时候
                    status: "false", // false 不可以选
                    value: '2',
                    check: false
                  },
                  {
                    icon: "https://",
                    label: "现代简约",
                    tagLabel: "敬请期待", // 不可以选时候
                    status: "false", // false 不可以选
                    value: '3',
                    check: false
                  },
                ],
                rules: [
                ]
              },
              {
                compare: false,
                formType: "showSingleSelect",
                canEqual: false,
                minSize: '2',
                lessTip: "less two",
                hidden: false,
                multiSelect: true, // 默认 false
                valueCssStyle: "display:flex;flex-wrap:wrap",
                placeholderCssStyle: "width:50%;",
                formKey: "yew",
    
                subHtmlObj: [
                  {
                    subHtmlObj: [
                      {
                        formType: "multipleSelect3",
                        label: "选择主营建材",
                        formKey: "skill11",
                        value: '',
                        children: [
                          {
                            label: "水电",
                            value: "11",
                            children: [
                              {
                                label: "水电材料",
                                value: "1101",
                                children: [
                                  {
                                    label: "电线、电缆",
                                    value: "1101001",
                                    children: null
                                  },
                                  {
                                    label: "电气控制",
                                    value: "1101002",
                                    children: null
                                  }]
                              },
                              {
                                label: "水电材料2",
                                value: "1102",
                                children: [
                                  {
                                    label: "2电线、电缆",
                                    value: "1102001",
                                    children: null
                                  },
                                  {
                                    label: "2电气控制",
                                    value: "1102002",
                                    children: null
                                  }]
                              },
                              {
                                label: "水电材料3",
                                value: "1103",
                                children: []
                              }
                              ,
                              {
                                label: "水电材料4",
                                value: "1104",
                                children: []
                              }
                            ]
    
                          },
                          {
                            label: "地面",
                            value: "12",
                            children: [
                              {
                                label: "地面材料",
                                value: "1201",
                                children: [
                                  {
                                    label: "瓷砖",
                                    value: "1201001",
                                    children: null
                                  },
                                  {
                                    label: "木地板",
                                    value: "1201002",
                                    children: null
                                  }]
                              }]
                          },
                          {
                            label: "测试仅2级",
                            value: "13",
                            children: [
                              {
                                label: "测试2级1",
                                value: "1301",
                                children: [
                                ]
                              },
                              {
                                label: "测试2级2",
                                value: "1302",
                                children: [
                                ]
                              },
                              {
                                label: "测试2级3",
                                value: "1303",
                                children: [
                                ]
                              }
                            ]
                          }
                        ]
                        ,
                      },
                    ],
                    compare: false,
                    formType: "modalOfMoreItems", //
                    canEqual: false,
                    showCondition: "4",
                    checkAll: true, // 是否显示全选
                    expression: true,
                    hidden: false,
                    showValue: '',
                    showSureBtn: true, // 不展示确定 默认要true
                    showLabel: true, // 是否显示标题
                    placeHolder: '请选择',
                    label: "选择主营建材",
                    lines: "inset",
    
                  }
                ],
                itemList: [
                  {
                    dataStr: false,
                    isScript: false,
                    isArray: true,
                    check: true,
                    isDisabled: false,
                    label: "建材销售",
                    isMajorPic: false,
                    value: "1",
                    iconOn: "https:" // 选中后的图标
                  },
                  {
                    dataStr: false,
                    isScript: false,
                    isArray: true,
                    check: true,
                    isDisabled: false,
                    label: "直租直售业务",
                    isMajorPic: false,
                    value: "2"
                  },
                  {
                    dataStr: false,
                    isScript: false,
                    isArray: true,
                    check: true,
                    isDisabled: false,
                    label: "房管家业务",
                    isMajorPic: false,
                    value: "3"
                  },
                  {
                    dataStr: false,
                    isScript: false,
                    isArray: true,
                    check: true,
                    isDisabled: false,
                    label: "承接劳务",
                    isMajorPic: false,
                    value: "4"
                  }
                ],
                label: "",
                value: "1,2,3,4",
                placeHolder: "请选择"
              },
              {
                formType: "sectionDesc",
                label: "基本资料",
                // endIcon:'more'
              },
              {
                formType: "sectionDesc",
                label: "看房介绍",
                endIcon: 'release_icon_arrow_right@2x.png',
                link: {
                  type: "pageModal",
                  target: "52329",
                  params: {}
                },
                cssStyle: "background:#FFFFFF;box-shadow: 0rem 0.03rem 0rem 0rem #E8EAED;height: 3.44rem;",
                labelCssStyle: "font-size: 1rem;color: #252629;line-height: 1rem;"
              },
              {
                formType: "modalOfMoreItems",
                label: "维修项目singleSelect3",
                // extra: "",
                placeHolder: "请选择",
                showLabel: true,
                showSearchModal: false,
                showSureBtn: false, // 不展示确定 默认要true
                showIndex: 0, // 表示要显示第几个子项的值
                backIcon: "back_left.png", // or "close.png"
                showAnimation: true, // 默认false  是否显示横向动画化进入
                subHtmlObj: [
    
                  {
                    compare: false,
                    formType: "singleSelect3",
                    hidden: false,
                    formKey: "singleSelect3",
                    rules: [
    
                    ],
                    label: "维修项目",
                    maxLength: 11,
                    placeHolder: "请填写",
                    children: [
                      {
                        label: "水电",
                        value: "11",
                        children: [
                          {
                            label: "水电材料",
                            value: "1101",
                            children: [
                              {
                                label: "电线、电缆",
                                value: "1101001",
                                children: null
                              },
                              {
                                label: "电气控制",
                                value: "1101002",
                                children: null
                              }]
                          },
                          {
                            label: "水电材料2",
                            value: "1102",
                            children: [
                              {
                                label: "2电线、电缆",
                                value: "1102001",
                                children: null
                              },
                              {
                                label: "2电气控制",
                                value: "1102002",
                                children: null
                              }]
                          },
    
    
                        ]
    
                      },
                      {
                        label: "地面",
                        value: "12",
                        children: [
                          {
                            label: "地面材料",
                            value: "1201",
    
                            children: null
                          }, {
                            label: "瓷砖",
                            value: "1201001",
                            children: null
                          },
                          {
                            label: "木地板",
                            value: "1201002",
                            children: null
                          }
                        ]
                      }
                    ]
                  },
    
                ]
              },
              {
                formType: "multipleInterestSelect",
                formKey: "wq",
                label: "",
                placeHolder: "",
                value: '',
                showValue: '',
                showCheckAll: 'false',
                data: [
                  {
                    icon: "https://",
                    label: "房产租售",
                    value: '0',
                    check: true,
    
                  },
                  {
                    icon: "https://",
                    label: "商铺转租",
                    value: '1',
                    check: true
                  },
                  {
                    icon: "https://",
                    label: "办公租售",
                    value: '2',
                    check: true
                  },
                  {
                    icon: "https://",
                    label: "厂房租售",
                    value: '3',
                    check: false
                  },
                ],
                rules: [
                ]
              },
              {
                formType: "switchButtonSystem",
                label: "设置默认地址",
                formKey: "modifyShopName1",
                value: '1', //  默认 是
                rules: [
                ],
              },
              {
                showValue: "",
                formType: "textInput_border",
                label: "地址门牌",
                formKey: "code",
                placeHolder: "请填写",
                textType: "", // text /phone /number password 其他标准 html input type 类型
                // extra: "获取验证码",
                value: '',
                leftIcon: "address",
                valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                // disabled: false, // 是否禁用
                delete: false,  // 新增属性 是可以清除已有的值 删除后可以提交空值
                // tips: "其他号码只能删除不能编辑或新增", //
                rules: [{
                  name: 'required',
                  value: false,
                  message: ""
                }],
    
              },
    
              {
                formType: "serviceType",
                label: "包含服务类",
    
                value: '',
                hasBorder: true,
                placeHolder: "",
                itemList: [
                  {
                    label: "地面",
    
    
                  },
                  {
                    label: "墙面维护",
                  },
                  {
                    label: "地面",
    
    
                  },
                  {
                    label: "墙面维护",
                  }, {
                    label: "地面",
    
    
                  },
                  {
                    label: "墙面维护",
                  }, {
                    label: "地面",
    
    
                  },
                  {
                    label: "墙面维护",
                  }, {
                    label: "地面",
    
    
                  },
                  {
                    label: "墙面维护",
                  }
                ],
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "",
                  }
                ]
              },
              {
                formType: "serviceYear",
                formKey: "mark1",
                // label:"包含服务类",
                cssStyle: "padding 1.25rem",
                value: '1',
                hasBorder: true,
                placeHolder: "",
                itemList: [
                  {
                    label: "服务1年",
                    value: '1',
                    valueN: '1000',
    
                  },
                  {
                    label: "服务2年",
                    value: '2',
                    valueN: '2000',
    
    
                  }, {
                    label: "服务3年",
                    value: '3',
                    valueN: '4000',
    
                  },
                ],
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "",
                  }
                ]
              },
              {
                formType: "scoreFormType",
                formKey: "mark2",
                label: "您的评分",
                // disabled: false,
                value: '1',
                hasBorder: true,
                placeHolder: "",
                data: [
                  {
                    label: "差",
                    value: '1',
                  },
                  {
                    label: "好",
                    value: '2',
                  }
                ],
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "",
                  }
                ]
              },
              {
                formType: "sepline",
              },
              {
                formType: "titleContentCenter",
                cssStyle: "",
                label: "请先设置提现密码",
                tips: ""
              },
              {
                showValue: "",
                formType: "textInput",
                label: "登录账户",
                formKey: "otherPhone11",
                placeHolder: "请填写",
                textType: "number", // text /phone /number password 其他标准 html input type 类型
                value: '',
                valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                // disabled: false, // 是否禁用
                delete: false,  //
                tips: "",
                extra: "",
                rules: [{
                  name: 'required',
                  value: false,
                  message: ""
                }],
                subHtmlObj: [
                  {
                    showValue: "",
                    formType: "textInput",
                    label: "验证码",
                    formKey: "code",
                    placeHolder: "请填写",
                    textType: "number", // text /phone /number password 其他标准 html input type 类型
                    extra: "验证码",
                    value: '',
                    valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                    // disabled: false, // 是否禁用
                    delete: false,  // 新增属性 是可以清除已有的值 删除后可以提交空值
                    tips: "", //
                    rules: [{
                      name: 'required',
                      value: false,
                      message: ""
                    }],
                    submit: {
                      isManualBinding: false,
                      doEventFirst: false,
                      isScript: false,
                      id: "64a743a9-7739-4338-b125-c7d2d5141290",
                      isDisabled: false,
                      type: "page",
                      content: {
    
                      },
                    }
                  }
                ]
    
              },
              {
                showValue: "NoShowSubmit", // 表示当前不是最后一步页面,不显示提交btn
                // formType: "nextPageFomObj",
                // showAnimation: true,// 默认false  是否显示横向动画化进入
                // tips:'',
                label: "下一步NoShowSubmit",
                subHtmlObj: [
                  {
                    formType: "titleContentCenter",
                    cssStyle: "",
                    label: "设置提现密码",
                    tips: "设置6位数字"
                  },
                  {
                    showValue: "",
                    formType: "passwordType",
                    label: "",
                    formKey: "passw1",
                    placeHolder: "",
                    textType: "number", // text /phone /number password 其他标准 html input type 类型
                    value: '',
                    valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                    // disabled: false, // 是否禁用
                    delete: false,  //
                    tips: "",
                    extra: "",
                    rules: [{
                      name: 'required',
                      value: false,
                      message: ""
                    }],
    
                  },
                  {
                    showValue: "",
                    formType: "nextPageFomObj",
                    label: "下一步nextPageFomObj",
                    subHtmlObj: [
                      {
                        formType: "titleContentCenter",
                        cssStyle: "",
                        label: "确认提现密码",
                        tips: "请再输一次提现密码"
                      },
                      {
                        showValue: "",
                        formType: "passwordType",
                        label: "",
                        formKey: "pass2w",
                        placeHolder: "",
                        textType: "number", // text /phone /number password 其他标准 html input type 类型
                        value: '',
                        valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                        // disabled: false, // 是否禁用
                        delete: false,  //
                        tips: "",
                        extra: "",
                        rules: [{
                          name: 'required',
                          value: false,
                          message: ""
                        }],
    
                      },
                    ]
    
                  }
                ]
              },
    
              {
                showValue: "",
                formType: "passwordType",
                label: "",
                formKey: "passw111",
                placeHolder: "",
                textType: "number", // text /phone /number password 其他标准 html input type 类型
                value: '',
                valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                // disabled: false, // 是否禁用
                delete: false,  //
                tips: "",
                extra: "",
                rules: [{
                  name: 'required',
                  value: false,
                  message: ""
                }],
              },
              {
                formType: "checkData",
                label: "身份证（正反面）",
                formKey: "shenfeng",
                value: '',
                extra: 'identity', // 身份证
                itemList: [
                  {
                    label: "正面照",
                    value: 'http://',
                  },
                  {
                    label: "反面照",
                    value: 'http://',
                  }
                ],
                rules: [
                ]
              },
              {
                formType: "checkData",
                label: "身份证（正反面）",
                formKey: "shenfeng",
                value: '',
                extra: 'identity', // 身份证
                itemList: [
                  // {
                  //   label: "正面照",
                  //   value: 'http://',
                  // },
                  // {
                  //   label: "反面照",
                  //   value: 'http://',
                  // }
                ],
                rules: [
                ]
              },
              {
                formType: "checkData",
                label: "资质",
                formKey: "shenfeng",
                value: '',
                // extra:'identity', // 身份证
                itemList: [
                  {
                    // label: "正面照",
                    value: 'http://',
                  },
                  {
                    // label: "反面照",
                    value: 'http://',
                  },
                  {
                    // label: "反面照",
                    value: 'http://',
                  }, {
                    // label: "反面照",
                    value: 'http://',
                  }
                  , {
                    // label: "反面照",
                    value: 'http://',
                  }
                ],
                rules: [
                ]
              },
              {
                formType: "multipleColumnSelectTwoLine",
                formKey: "wy",
                label: "物业配套1111",
                placeHolder: "multipleColumnSelectTwoLine",
                value: '',
                showValue: '',
                showCheckAll: 'false', // 7.3.0 新增属性 是否展示全选
                data: [
                  {
                    label: "全城",
                    value: '0',
                    check: true,
                    radio: true // 与其余项 互斥
                  },
                  {
                    label: "上水",
                    value: '1',
                    check: true
                  },
                  {
                    label: "下水",
                    value: '2',
                    check: true
                  },
                  {
                    label: "排烟",
                    value: '3',
                    check: false
                  },
                ],
                rules: [
                ]
              },
    
              {
                formType: "modalMultipleSelect3_Auto_Full", // 弹窗自适应完整2-3级分类多选 子项不定宽 (全屏窗)
                label: "提供产品33",
                formKey: "pp",
                placeHolder: 'modalMultipleSelect3_Auto_Full',
                value: '',
                secondMax: 1,
                thirdMax: 3,
                tips: "选择的分类的相关商品都将会上架到店铺",
                children: [
                  {
                    label: "水电",
                    value: "11",
                    children: [
                      {
                        label: "水电材料",
                        value: "1101",
                        children: [
                          {
                            label: "电线、电缆",
                            value: "1101001",
                            children: null
                          },
                          {
                            label: "电路(检修)3",
                            value: "1101003",
                            children: []
                          },
                          {
                            label: "电路(检修)4",
                            value: "1101004",
                            children: []
                          },
                          {
                            label: "电气控制",
                            value: "1101002",
                            children: null
                          }]
                      },
                      {
                        label: "水电材料2",
                        value: "1102",
                        children: [
                          {
                            label: "2电线、电缆",
                            value: "1102001",
                            children: null
                          },
                          {
                            label: "2电气控制",
                            value: "1102002",
                            children: null
                          }]
                      },
                      {
                        label: "水电材料3",
                        value: "1103",
                        children: []
                      }
                      ,
                      {
                        label: "水电材料4",
                        value: "1104",
                        children: []
                      }
                    ]
    
                  },
                  {
                    label: "地面",
                    value: "12",
                    children: [
                      {
                        label: "地面材料",
                        value: "1201",
                        children: [
                          {
                            label: "瓷砖",
                            value: "1201001",
                            children: null
                          },
                          {
                            label: "木地板",
                            value: "1201002",
                            children: null
                          }]
                      }]
                  }
                ]
                ,
              },
              {
                formType: "modalMultipleSelect3_Auto", // 弹窗自适应完整2-3级分类多选 子项不定宽 (半屏窗)
                label: "提供产品半屏",
                formKey: "pp",
                placeHolder: 'modalMultipleSelect3_Auto',
                value: '',
                tips: "选择的分类的相关商品都将会上架到店铺",
                children: [
                  {
                    label: "水电",
                    value: "11",
                    children: [
                      {
                        label: "水电材料",
                        value: "1101",
                        children: [
                          {
                            label: "电线、电缆",
                            value: "1101001",
                            children: null
                          },
                          {
                            label: "电气控制",
                            value: "1101002",
                            children: null
                          }]
                      },
                      {
                        label: "水电材料2",
                        value: "1102",
                        children: [
                          {
                            label: "2电线、电缆",
                            value: "1102001",
                            children: null
                          },
                          {
                            label: "2电气控制",
                            value: "1102002",
                            children: null
                          }]
                      },
                      {
                        label: "水电材料3",
                        value: "1103",
                        children: []
                      }
                      ,
                      {
                        label: "水电材料4",
                        value: "1104",
                        children: []
                      }
                    ]
    
                  },
                  {
                    label: "地面",
                    value: "12",
                    children: [
                      {
                        label: "地面材料",
                        value: "1201",
                        children: [
                          {
                            label: "瓷砖",
                            value: "1201001",
                            children: null
                          },
                          {
                            label: "木地板",
                            value: "1201002",
                            children: null
                          }]
                      }]
                  },
                  {
                    label: "家电仅2级",
                    value: "13",
                    children: [
                      {
                        label: "家电",
                        value: "1301",
                        children: []
                      },
                      {
                        label: "家电1",
                        value: "1302",
                        children: []
                      },
                      {
                        label: "家电2",
                        value: "1303",
                        children: []
                      }]
                  }
                ]
                ,
              },
              {
                subHtmlObj: [
                  {
                    formType: "multipleSelect3",
                    label: "选择主营建材",
                    formKey: "skill11",
    
                    value: '',
                    children: [
                      {
                        label: "水电",
                        value: "11",
                        children: [
                          {
                            label: "水电材料",
                            value: "1101",
                            children: [
                              {
                                label: "电线、电缆",
                                value: "1101001",
                                children: null
                              },
                              {
                                label: "电气控制",
                                value: "1101002",
                                children: null
                              }]
                          },
                          {
                            label: "水电材料2",
                            value: "1102",
                            children: [
                              {
                                label: "2电线、电缆",
                                value: "1102001",
                                children: null
                              },
                              {
                                label: "2电气控制",
                                value: "1102002",
                                children: null
                              }]
                          },
                          {
                            label: "水电材料3",
                            value: "1103",
                            children: []
                          }
                          ,
                          {
                            label: "水电材料4",
                            value: "1104",
                            children: []
                          }
                        ]
    
                      },
                      {
                        label: "地面",
                        value: "12",
                        children: [
                          {
                            label: "地面材料",
                            value: "1201",
                            children: [
                              {
                                label: "瓷砖",
                                value: "1201001",
                                children: null
                              },
                              {
                                label: "木地板",
                                value: "1201002",
                                children: null
                              }]
                          }]
                      },
                      {
                        label: "测试仅2级",
                        value: "13",
                        children: [
                          {
                            label: "测试2级1",
                            value: "1301",
                            children: [
                            ]
                          },
                          {
                            label: "测试2级2",
                            value: "1302",
                            children: [
                            ]
                          },
                          {
                            label: "测试2级3",
                            value: "1303",
                            children: [
                            ]
                          }
                        ]
                      }
                    ]
                    ,
                  },
                ],
                compare: false,
                formType: "modalOfMoreItems", //
                canEqual: false,
                checkAll: true, // 是否显示全选
                expression: true,
                hidden: false,
                showValue: '',
                showSureBtn: true, // 不展示确定 默认要true
                showLabel: true, // 是否显示标题
                placeHolder: '请选择',
                label: "选择主营建材",
                lines: "inset",
    
              },
              {
                subHtmlObj: [
                  {
                    formType: "multipleSelect3",
                    label: "请选择您需要代理的商品(可多选)",
                    formKey: "skill",
                    // tips: '',
                    link: {
                      type: 'modalPage ',
    
                    }, // ？
                    value: '',
                    children: [
                      {
                        label: "水电",
                        value: "11",
                        children: [
                          {
                            label: "水电材料",
                            value: "1101",
                            children: [
                              {
                                label: "电线、电缆",
                                value: "1101001",
                                children: null
                              },
                              {
                                label: "电气控制",
                                value: "1101002",
                                children: null
                              }]
                          },
                          {
                            label: "水电材料2",
                            value: "1102",
                            children: [
                              {
                                label: "2电线、电缆",
                                value: "1102001",
                                children: null
                              },
                              {
                                label: "2电气控制",
                                value: "1102002",
                                children: null
                              }]
                          },
                          {
                            label: "水电材料3",
                            value: "1103",
                            children: []
                          }
                          ,
                          {
                            label: "水电材料4",
                            value: "1104",
                            children: []
                          }
                        ]
    
                      },
                      {
                        label: "地面",
                        value: "12",
                        children: [
                          {
                            label: "地面材料",
                            value: "1201",
                            children: [
                              {
                                label: "瓷砖",
                                value: "1201001",
                                children: null
                              },
                              {
                                label: "木地板",
                                value: "1201002",
                                children: null
                              }]
                          }]
                      },
                      {
                        label: "测试仅2级",
                        value: "13",
                        children: [
                          {
                            label: "测试2级1",
                            value: "1301",
                            children: [
                            ]
                          },
                          {
                            label: "测试2级2",
                            value: "1302",
                            children: [
                            ]
                          },
                          {
                            label: "测试2级3",
                            value: "1303",
                            children: [
                            ]
                          }
                        ]
                      }
                    ]
                    ,
                  },
                ],
                compare: false,
                formType: "editMultipleSelect",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                showValue: '',
                showLabel: false,
                placeHolder: '请选择',
                label: "选择承接服务技能",
                lines: "inset",
    
              },
              {
    
                formType: "getCashType",
                showValue: "6000.00",
                value: '3580',
                extra: "全部现金",
                formKey: "spm1",
                label: "提取现金",
                cssStyle: "", //
                tips: "可提现金额6000.00元",
                rules: [
                  {
                    name: 'required',
                    value: true,
                    message: "请"
                  }
                ]
              },
              {
                formType: "selectAccount",
                formKey: "account",
                label: "到账账户",
                placeHolder: "请选择",
                value: 0,
                showValue: '支付宝账号(hkm738)',
                tips: '系统审核后，预计2小时到账',
                leftIcon: 'http://icon.png',
                // disabled: false,
                showData: {
                  label: "支付宝账号(hkm738)",
                  icon: "1",
                  tips: "系统审核后，预计2小时到账",
                  value: 1,
    
                },
                data: [
                  {
                    label: "支付宝账号(hkm738)",
                    icon: "1",
                    tips: "系统审核后，预计2小时到账",
                    value: 1,
    
                  },
                  {
                    label: "微信账号(hkm738)",
                    icon: "1",
                    tips: "系统审核后，预计2小时到账",
                    value: 2,
    
                  },
                  {
                    label: "add支付宝账号",
                    icon: "",
                    tips: "",
                    value: 0,
                    link: {
                      type: 'page',
                      params: {},
                      target: '1122'
                    }
                  },
    
    
                ],
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择"
                  }
                ]
              },
              {
    
                formType: "getCashType",
                showValue: "6000.00",
                value: '3580',
                extra: "全部现金",
                formKey: "spm",
                label: "提取现金",
                cssStyle: "", //
                tips: "可提现金额6000.00元",
                rules: [
                  {
                    name: 'required',
                    value: true,
                    message: "请"
                  }
                ]
              },
              {
                formType: "multipleSelect",
                label: "支付成功",
                formKey: "cailiao",
                tips: '请选择您需要代理的商品(可多选)',
                link: {
                  type: 'modalPage ',
    
                }, // ？
                value: '',
                children: [
                  {
                    label: "水电材料",
                    value: "1101",
                    children: [
                      {
                        label: "电线、电缆",
                        value: "1101001",
                        children: null
                      },
                      {
                        label: "电气控制",
                        value: "1101002",
                        children: null
                      }]
                  },
                  {
                    label: "地面材料",
                    value: "1102",
                    children: [
                      {
                        label: "瓷砖",
                        value: "1102001",
                        children: null
                      },
                      {
                        label: "木地板",
                        value: "1102002",
                        children: null
                      }]
                  }],
    
                rules: [
                ]
              },
              {
                formType: "chooseGrade",
                label: "入驻级别",
                formKey: "jibie",
                value: '',
                itemList: [
                  {
                    label: "高级",
                    unit: "3年",
                    valueN: "999",
                    check: false,
                    value: 0,
                  },
                  {
                    label: "中级",
                    value: 1,
                    unit: "2年",
                    valueN: "699",
                    check: false
                  },
                  {
                    label: "初级",
                    value: 2,
                    unit: "1年",
                    valueN: "999",
                    check: true
                  }
                ],
                rules: [
                ]
              },
              {
    
                formType: "price",
                showValue: "￥3500",
                value: '3500',
                extra: "/年",
                formKey: "sp",
                label: "服务费用",
                cssStyle: "", //
                tips: "",
              },
    
              {  // 37 蜂喔商户 入驻 link
    
                formType: "joinLink",
                value: '',
                formKey: "read",
                label: "阅读",
                cssStyle: "", //
                tips: "《服务协议》",
                link: {
                  type: "pageModal",
                  target: "52329",
                  params: {}
                },
                rules: [
    
                  {
                    name: "required",
                    message: "请勾选通用协议",
                    value: "true"
                  }
                ]
              },
              {  // 37 蜂喔商户 入驻 link
    
                formType: "joinLinkTwoLine",
                value: '',
                formKey: "read1",
                label: "需要通知客户上传资质材料",
                cssStyle: "", //
                tips: "《服务协议》",
                placeHolder: '勾选本项，审核通过后，系统会发通知给客户，客户打开进行补偿资料',
                link: {
                  type: "pageModal",
                  target: "52329",
                  params: {}
                },
                rules: [
    
                  {
                    name: "required",
                    message: "请勾选通用协议",
                    value: "true"
                  }
                ]
              },
    
              {
                formType: "titleContent",
                cssStyle: "font-size: 1.5rem",
                leftIcon: ".../png",
                label: "欢迎你入驻蜂喔",
                link: {
                  type: "pageModal",
                  target: "52329",
                  params: {}
                },
              },
              {
                compare: false,
                formType: "textInputLJOneLine",
                hidden: false,
                formKey: "company_name",
                rules: [
                  {
                    name: "pattern",
                    message: "请填写正确的面积",
                    value: ".{0,50}"
                  },
                  {
                    name: "required",
                    message: "请填面积",
                    value: "true"
                  }
                ],
                label: "称呼我为",
                extra: "",
                maxLength: 3,
                placeHolder: "请填写"
              },
              {
                compare: false,
                formType: "textInputLJ",
                hidden: false,
                formKey: "company_name2",
                rules: [
                  {
                    name: "pattern",
                    message: "请填写正确的面积",
                    value: ".{0,50}"
                  },
                  {
                    name: "required",
                    message: "请填面积",
                    value: "true"
                  }
                ],
                labelCssStyle: 'font-size:1rem;font-weight: normal',
                valueCssStyle: 'font-size:1rem;font-weight: normal',
                label: "面积",
                // extra: "平米",
                maxLength: 3,
                placeHolder: "请填写"
              },
              {
                formType: "hintContent",
                showValue: "",
                cssStyle: "background: rgba(39, 196, 152, 0.05);border-radius: 0.31rem;",
                leftIcon: ".../png",
                label: "提示内容",
                tips: "提示内容：111；||提示内容：222；||提示内容：333；"
              },
    
              {
                tags: [{ label: "服务1个月", value: "2", showValue: "30", checked: true },
                { label: "服务2个月", value: "2", showValue: "60", checked: false },
                { label: "服务3个月", value: "2", showValue: "90", checked: false },
                { label: "自定义", value: "2", checked: false },
                {
                  label: "按结果", value: "1", showValue: "365", checked: true, tips: "按结果：服务到转租出或客户要求结束为止", // 商户 v1.5 新增 V1.6 移出
                }],
                noShowTag: 'true',
                showLabel: true, // 默认 true
                showValue: "",
                formType: "textInput",
                label: "服务天数",
                formKey: "otherPhone1",
                placeHolder: "请填写",
                textType: "number", // text /phone /number password 其他标准 html input type 类型
                extra: "天",
                value: '30',
                valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                // disabled: false, // 是否禁用
                delete: false,  // 新增属性 是可以清除已有的值 删除后可以提交空值
                tips: "其他号码只能删除不能编辑或新增", //
                rules: [{
                  name: 'required',
                  value: false,
                  message: ""
                }]
              },
              {
                formType: "departmentSelect",
                value: "",
                label: "部门",
                placeHolder: "请选择",
              },
    
              {  // 38 蜂喔商户 标准报价展示
    
                formType: "servicePrice",
                value: "5890",
                label: "标准报价",
                cssStyle: "", //
              },
              // 36.1 蜂喔商户 innerBtnLast 弹窗发布，配置在最后一项 表单内部btn 提交Submit
              {
                formType: "innerBtnLast",
                label: "确定",
                showValue: "generalSubmit",
                cssStyle: "", // btn 样式
                submit: {
    
                }
              },
              // 36 蜂喔商户 innerBtn 服务报价 表单内部btn 提交Submit
              {
                formType: "innerBtn",
                label: "确定",
                showValue: "generalSubmit",
                cssStyle: "", // btn 样式
                submit: {
                  isManualBinding: false,
                  doEventFirst: false,
                  isScript: false,
                  id: "64a743a9-7739-4338-b125-c7d2d5141290",
                  isDisabled: false,
                  type: "page",
                  content: {
                    opportunity_id: "5fa107c0a77068000197439b",
                    cuttab: "1",
                    isRepeat: "true",
                    customer_id: "6ce4db170fc011eab63a0242ac160002",
                    quote_way: "1",
                    eventPosition: "only"
                  },
                  key: "64a743a9-7739-4338-b125-c7d2d5141290",
                  target: "168350"
                },
                isScript: false,
                checked: false,
                isDisabled: false,
              },
              {  // 37 蜂喔商户 合同link
    
                formType: "link",
                value: "《预览服务协议》",
                label: "深圳蜂喔网络科技有限公司仅提供技术支持",
                cssStyle: "", //
                type: "contract",
                params: {
                  plugin_id: "1",
                  opportunity_id: "5fa107c0a77068000197439b"
                },
                target: "168360"
              },
              {  // 37 蜂喔发布多物业 link
    
                formType: "postPage",
                value: "",
                label: "我有厂区出租",
                cssStyle: "", //
                type: "page",
                params: {
                },
                target: "168360"
              },
              { // 小旺 7.2.0 新增表单类型 tipsMessage
                formType: "tipsMessage",
                label: "客户已被他人维护",
                leftIcon: "release_icon_remind@3x.png", // 左侧小图标
              },
              { // 小旺 7.3.0 新增表单类型 tipsMessage
                formType: "tipsItem",
                label: "图文详情",
                value: "图文详情请使用网页版编辑",
                valueColor: '#FFBB33', // 提示语颜色
              },
              {
                formType: "modalOfTextArea",
                label: "店面描述",
                showValue: "没啥好说的，啊哈哈",
                // extra: '平米', // 不能与动态单位选择共存
                subHtmlObj: [
                  {
                    formType: "textArea",
                    formKey: 'shop_des',
                    placeHolder: "请填详细店铺描述",
                    showValue: "没啥好说的，啊哈哈",
                    value: "没啥好说的，啊哈哈",
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "请填详细店铺描述"
                      }
                    ],
                  }]
              },
              {
    
                formType: "modalOfLocalEdit", // 新增类型
                label: "户型图",
                placeHolder: "请添加",
                showValue: '',
                formKey: 'house_types',
                dataType: 'preSale', // preSale 预售 houseType 户型
                dataValue: [
                  {
                    house_type_id: '133333',
                    house_picurl: "url",
                    house_name: "户型A",
                    house_type: 0,
                    area: 100,
                    sales_status: 0,
                    main_room_type: 0,
                    suite_num: 20,
                    room_type: 3,
                    room_hall: 2,
                    room_bit: 1,
                    // 以下是 preSale 预售 字段
                    issuing_time: '',
                    bind_building: 'A 栋',
                    number: '预售证号',
                    certificate: ''
    
                  }
                ],
                subHtmlObj: [
                  {
                    showValue: "",
                    compare: false,
                    formType: "photoSelectWidget",
                    hidden: false,
                    formKey: "house_picurl",
                    maxSize: 1,
                    placeHolder: "上传户型图"
                  },
                  {
                    compare: false,
                    formType: "textInput",
                    hidden: false,
                    formKey: "house_name",
                    rules: [
                      {
                        name: "pattern",
                        message: "请填写正确的名称",
                        value: ".{0,50}"
                      },
                      {
                        name: "required",
                        message: "请填名称",
                        value: "true"
                      }
                    ],
                    label: "户型名称",
                    maxLength: 50,
                    placeHolder: "请填写"
                  },
                  {
                    formType: "singleColumnSelect",
                    formKey: "house_type",
                    label: "户型",
                    placeHolder: "请选择",
                    value: 0,
                    showValue: '普通住宅',
                    // disabled: false,
                    data: [
                      {
                        label: "普通住宅",
                        value: 0
                      },
                      {
                        label: "公寓",
                        value: 1
                      }, {
                        label: "别墅",
                        value: 2
                      },
                      {
                        label: "平房",
                        value: 3
                      }, {
                        label: "商住楼",
                        value: 4
                      }, {
                        label: "其他",
                        value: 5
                      },
    
                    ],
                    rules: [
                      {
                        name: 'required',
                        value: false,
                        message: "请选择房屋类型"
                      }
                    ]
                  },
                  {
                    formType: "singleColumnSelect",
                    formKey: "sales_status",
                    label: "销售状态",
                    placeHolder: "请选择",
                    value: 0,
                    showValue: '在售',
                    // disabled: false,
                    data: [
                      {
                        label: "在售",
                        value: 0
                      },
                      {
                        label: "待售",
                        value: 1
                      }
    
                    ],
                    rules: [
                      {
                        name: 'required',
                        value: false,
                        message: "请选择状态"
                      }
                    ]
                  }, {
                    formType: "singleColumnSelect",
                    formKey: "main_room_type",
                    label: "主推户型",
                    placeHolder: "请选择",
                    value: 0,
                    showValue: '是',
                    // disabled: false,
                    data: [
                      {
                        label: "是",
                        value: 0
                      },
                      {
                        label: "否",
                        value: 1
                      }
    
                    ],
                    rules: [
                      {
                        name: 'required',
                        value: false,
                        message: "请选择"
                      }
                    ]
                  }, {
                    compare: false,
                    formType: "textInput",
                    digit: '0', // 默认0 小数点后位数设置
                    hidden: false,
                    extra: '套',
                    formKey: "suite_num",
                    rules: [
                      {
                        name: "pattern",
                        message: "请填写正确套数",
                        value: ".{0,50}"
                      },
                      {
                        name: "required",
                        message: "请填",
                        value: "true"
                      }
                    ],
                    label: "套数",
                    maxLength: 20,
                    placeHolder: "请填写"
                  },
                  {
                    subHtmlObj: [
                      {
                        compare: false,
                        formType: "columSelect",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        data: [
                          {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            label: "1室",
                            isMajorPic: false,
                            value: "1"
                          },
                          {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            label: "2室",
                            isMajorPic: false,
                            value: "2"
                          },
                          {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            label: "3室",
                            isMajorPic: false,
                            value: "3"
                          }
                        ],
                        hidden: false,
                        formKey: "room_type",
                        value: "2"
                      },
                      {
                        compare: false,
                        formType: "columSelect",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        data: [
                          {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            label: "1厅",
                            isMajorPic: false,
                            value: "1"
                          },
                          {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            label: "2厅",
                            isMajorPic: false,
                            value: "2"
                          },
                          {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            label: "3厅",
                            isMajorPic: false,
                            value: "3"
                          }
                        ],
                        hidden: false,
                        formKey: "room_hall",
                        value: "3"
                      },
                      {
                        compare: false,
                        formType: "columSelect",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        data: [
                          {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            label: "1卫",
                            isMajorPic: false,
                            value: "1"
                          },
                          {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            label: "2卫",
                            isMajorPic: false,
                            value: "2"
                          },
                          {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            label: "3卫",
                            isMajorPic: false,
                            value: "3"
                          }
                        ],
                        hidden: false,
                        formKey: "room_bit",
                        value: "2"
                      }
                    ],
                    compare: false,
                    formType: "modalMultipleFormKeySelect",
                    showValue: "2室3厅2卫",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    label: "房型",
                    value: "0",
                    placeHolder: "请选择",
                    multiSelect: true
                  }
                ]
              },
              {
                formType: "modalOfMoreItems",
                label: "小区仅搜索",
                placeHolder: "请选择",
                showSearchModal: true,
                hasAddNew: false, // 默认 true， 表示可以新增
                showIndex: 0, // 表示要显示第几个子项的值
                subHtmlObj: [
    
                  {
                    compare: false,
                    formType: "textInput",
                    hidden: false,
                    formKey: "name",
                    rules: [
                      {
                        name: "pattern",
                        message: "请填写正确小区名称",
                        value: ".{0,50}"
                      },
                      {
                        name: "required",
                        message: "请填写小区名称",
                        value: "true"
                      }
                    ],
                    label: "小区名称",
                    maxLength: 50,
                    placeHolder: "请填写"
                  }, {
                    subHtmlObj: [
                      {
                        compare: false,
                        formType: "citySelect",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        // submit: {
                        //   isManualBinding: false,
                        //   doEventFirst: false,
                        //   isScript: false,
                        //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                        //   isDisabled: false,
                        //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                        // },
                        formKey: "city_id",
                        link: {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          isMajorPic: false,
                          type: "modal",
                          target: "52329"
                        },
                        label: "城市",
                        subHtmlObj: [
                          {
                            compare: false,
                            formType: "pickerSelect",
                            canEqual: false,
                            checkAll: false,
                            expression: true,
                            hidden: false,
                            formKey: "district_id",
    
                            rules: [
                              {
                                name: "required",
                                message: "请选择区域",
                                value: "false"
                              }
                            ],
                            label: "区域",
                            placeHolder: "请选择"
                          }
                        ],
                        appType: "LJ",
                        placeHolder: "请选择"
                      },
                      {
                        subHtmlObj: [
                          {
                            compare: false,
                            formType: "detailAddress_location",
                            canEqual: false,
                            checkAll: false,
                            expression: true,
                            hidden: false,
                            formKey: "location",
                            appType: "LJ",
                            rules: [
                              {
                                name: "required",
                                message: "请选择详细地址",
                                value: "false"
                              }
                            ]
                          }
                        ],
                        compare: false,
                        formType: "detailAddress",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        formKey: "address",
                        appType: "LJ",
                        label: "详细地址",
                        placeHolder: "请设置地址"
                      },
                    ],
                    compare: false,
                    formType: "selectAddressWidget",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "Daddress",
                    appType: "LJ",
                    rules: [
                      {
                        name: "required",
                        message: "请设置地址",
                        value: "false"
                      }
                    ],
                    label: "我的店铺在",
                    placeHolder: "请填写"
                  }
                ]
              },
              {
                formType: "modalOfMoreItems",
                label: "登录账号",
                extra: "更换",
                placeHolder: "请选择",
                showSearchModal: true,
                showIndex: 0, // 表示要显示第几个子项的值
                subHtmlObj: [
    
                  {
                    compare: false,
                    formType: "textInput",
                    hidden: false,
                    formKey: "mobile11",
                    rules: [
                      {
                        name: "pattern",
                        message: "请填写正确手机号",
                        value: ".{11}"
                      },
                      {
                        name: "required",
                        message: "请填写手机号码",
                        value: "true"
                      }
                    ],
                    label: "账号",
                    maxLength: 11,
                    placeHolder: "请填写"
                  },
    
                ]
              },
              {
                formType: "modalOfMoreItems",
                label: "新邀请者",
                extra: "",
                placeHolder: "请选择",
                showSearchModal: true,
                formKey: "yaoqing",
                value: ''
              },
              {
                formType: "modalOfMoreItems",
                label: "新直营管家",
                extra: "",
                placeHolder: "请选择",
                showSearchModal: true,
                formKey: "newGj",
                value: ''
              },
              {
                formType: "descInfo",
                label: "说明：变更邀请者，不会影响已产生的分单、发展成员奖  励。",
              },
              {
                formType: "modalOfMoreItems", // 新增类型
                label: "公司认证",
                placeHolder: "填写公司信息",
                showIndex: 0, // 表示要显示第几个子项的值
                subHtmlObj: [
                  {
                    showValue: "logo",
                    compare: false,
                    formType: "photoSelectWidget",
                    hidden: false,
                    delete: true,
                    cssStyle: "border: 0.03rem solid #EDEDED;",
                    formKey: "company_certificate_picurl",
                    maxSize: 10,
                    placeHolder: "上传公司证件(选填)"
                  },
                  {
                    compare: false,
                    formType: "textInput",
                    hidden: false,
                    formKey: "company_name3",
                    rules: [
                      {
                        name: "pattern",
                        message: "请填写正确的公司名称",
                        value: ".{0,50}"
                      },
                      {
                        name: "required",
                        message: "请填写公司名称",
                        value: "true"
                      }
                    ],
                    label: "公司名称",
                    maxLength: 50,
                    placeHolder: "请填写"
                  },
                ]
              },
    
              {
                formType: "areaSlot",
                label: "服务价格(元/台)",
                compare: true,
                lessTip: "", //  最大值小于最小值时提示
                equalTip: "", // 最大值等于最小值时提示
                // extra: '平米', // 不能与动态单位选择共存
                canEqual: true, // 是否可以相等
                sepCssStyle: "width: 0.38rem;height: 0.06rem;background: #222222;margin:0 0.25rem",
                labelCssStyle: "",
                placeholderCssStyle: "width: 5.25rem;height: 2rem;background: rgba(247, 248, 250, 1);border-radius: 0.78rem;font-size: 1rem;color: rgba(39, 40, 46, 1);line-height: 1.25rem;margin-right: 0rem;text-align:center",
                subHtmlObj: [
                  {
                    formType: "area",
                    formKey: 'min_area',
                    placeHolder: "最小",
                    value: "",
                    beforeTxt: "第",
                    afterTxt: "层",
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "请填写最小面积"
                      }
                    ],
                  },
                  {
                    formType: "area",
                    formKey: 'max_area',
                    placeHolder: "最大",
                    beforeTxt: "第",
                    afterTxt: "层",
                    value: "",
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "填写最大面积"
                      }
                    ]
                  },
                  { //  注意顺序
                    formType: "singleColumnSelect",
                    formKey: 'rent_uint',
                    value: 1,
                    showValue: '元/月',
                    data: [
                      {
                        type: 'value',
                        label: "元/月",
                        value: 1
                      },
                      {
                        type: 'value',
                        label: "元/天",
                        value: 2
                      },
                      {
                        type: 'value',
                        label: "元/年",
                        value: 3
                      }
                    ],
                    rules: [{
                      name: 'required',
                      value: true,
                      message: "请选择租金单位"
                    }]
                  }
                ]
              },
              {
                formType: "timeSlot",
                label: "营业时段",
                compare: false,
                lessTip: "", //  最大值小于最小值时提示
                equalTip: "", // 最大值等于最小值时提示
                subHtmlObj: [
                  {
                    formType: "time",
                    formKey: 'operate_begin_time',
                    value: "",
                    showValue: '',
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "设置开始时间"
                      }
                    ],
                  },
                  {
                    formType: "time",
                    formKey: 'operate_end_time',
                    value: "",
                    showValue: '',
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "设置开始时间"
                      }
                    ]
                  }
                ]
              },
              {
                formType: "textInput",
                formKey: "rent",
                label: "租金",
                placeHolder: "请填写",
                value: "",
                textType: 'number',
                rules: [
                  {
                    name: 'required',
                    value: true,
                    message: "请填写租金"
                  }
                ],
                subHtmlObj: [
                  {
                    formType: "singleColumnSelect",
                    formKey: 'rent_uint',
                    value: 1,
                    showValue: '元/月',
                    data: [
                      {
                        type: 'value',
                        label: "元/月",
                        value: 1
                      },
                      {
                        type: 'value',
                        label: "元/天",
                        value: 2
                      },
                      {
                        type: 'value',
                        label: "元/年",
                        value: 3
                      }
                    ],
                    rules: [{
                      name: 'required',
                      value: true,
                      message: "请选择租金单位"
                    }]
                  }
                ]
              },
              {  // 编辑更多物业信息
                formType: "modalEditMoreInfo",
                tips: "编辑更多物业信息",
                label: "物业信息",
                rules: [
                ],
                subHtmlObj: [
                  {
                    formType: "photoSelectWidget",
                    formKey: 'photos_contract',
                    maxSize: 8, // 最多设置8张
                    placeHolder: "添加备注图片(最多8张）",
                    lable: "合同凭证",
                    tips: '视频：请通过PC员工后台上传案例视频',
                    value: '',
                    rules: [{
                      name: 'required',
                      value: true,
                      message: "请选择图片"
                    }]
                  },
                  {
                    formType: "textInput",
                    formKey: "rent1",
                    label: "租金",
                    textType: 'text',
                    placeHolder: "请填写",
                    value: "",
                    rules: [
                      {
                        name: 'required',
                        value: true,
                        message: "请填写租金"
                      }
                    ],
                  }, {
    
                    formType: "modalOfLocalEdit", // 新增类型
                    label: "户型图",
                    placeHolder: "请添加",
                    showValue: '',
                    formKey: 'house_types',
                    dataType: 'houseType', // preSale 预售 houseType 户型
                    dataValue: [
                      {
                        house_type_id: '133333',
                        house_picurl: "url",
                        house_name: "户型A",
                        house_type: 0,
                        area: 100,
                        sales_status: 0,
                        main_room_type: 0,
                        suite_num: 20,
                        room_type: 3,
                        room_hall: 2,
                        room_bit: 1,
                        // 以下是 preSale 预售 字段
                        issuing_time: '',
                        bind_building: 'A 栋',
                        number: '预售证号',
                        certificate: ''
    
                      }
                    ],
                    subHtmlObj: [
                      {
                        showValue: "",
                        compare: false,
                        formType: "photoSelectWidget",
                        hidden: false,
                        formKey: "house_picurl",
                        maxSize: 1,
                        placeHolder: "上传户型图"
                      },
                      {
                        compare: false,
                        formType: "textInput",
                        hidden: false,
                        formKey: "house_name",
                        rules: [
                          {
                            name: "pattern",
                            message: "请填写正确的名称",
                            value: ".{0,50}"
                          },
                          {
                            name: "required",
                            message: "请填名称",
                            value: "true"
                          }
                        ],
                        label: "户型名称",
                        maxLength: 50,
                        placeHolder: "请填写"
                      },
                      {
                        formType: "singleColumnSelect",
                        formKey: "house_type",
                        label: "户型",
                        placeHolder: "请选择",
                        value: 0,
                        showValue: '普通住宅',
                        // disabled: false,
                        data: [
                          {
                            label: "普通住宅",
                            value: 0
                          },
                          {
                            label: "公寓",
                            value: 1
                          }, {
                            label: "别墅",
                            value: 2
                          },
                          {
                            label: "平房",
                            value: 3
                          }, {
                            label: "商住楼",
                            value: 4
                          }, {
                            label: "其他",
                            value: 5
                          },
    
                        ],
                        rules: [
                          {
                            name: 'required',
                            value: false,
                            message: "请选择房屋类型"
                          }
                        ]
                      }, {
                        compare: false,
                        formType: "textInput",
                        hidden: false,
                        extra: '平米',
                        formKey: "area",
                        rules: [
                          {
                            name: "pattern",
                            message: "请填写正确的面积",
                            value: ".{0,50}"
                          },
                          {
                            name: "required",
                            message: "请填面积",
                            value: "true"
                          }
                        ],
                        label: "面积",
                        maxLength: 20,
                        placeHolder: "请填写"
                      },
                      {
                        formType: "singleColumnSelect",
                        formKey: "sales_status",
                        label: "销售状态",
                        placeHolder: "请选择",
                        value: 0,
                        showValue: '在售',
                        // disabled: false,
                        data: [
                          {
                            label: "在售",
                            value: 0
                          },
                          {
                            label: "待售",
                            value: 1
                          }
    
                        ],
                        rules: [
                          {
                            name: 'required',
                            value: false,
                            message: "请选择状态"
                          }
                        ]
                      }, {
                        formType: "singleColumnSelect",
                        formKey: "main_room_type",
                        label: "主推户型",
                        placeHolder: "请选择",
                        value: 0,
                        showValue: '是',
                        // disabled: false,
                        data: [
                          {
                            label: "是",
                            value: 0
                          },
                          {
                            label: "否",
                            value: 1
                          }
    
                        ],
                        rules: [
                          {
                            name: 'required',
                            value: false,
                            message: "请选择"
                          }
                        ]
                      }, {
                        compare: false,
                        formType: "textInput",
                        hidden: false,
                        extra: '套',
                        formKey: "suite_num",
                        rules: [
                          {
                            name: "pattern",
                            message: "请填写正确套数",
                            value: ".{0,50}"
                          },
                          {
                            name: "required",
                            message: "请填",
                            value: "true"
                          }
                        ],
                        label: "套数",
                        maxLength: 20,
                        placeHolder: "请填写"
                      }, {
                        subHtmlObj: [
                          {
                            compare: false,
                            formType: "columSelect",
                            canEqual: false,
                            checkAll: false,
                            expression: true,
                            data: [
                              {
                                dataStr: false,
                                isScript: false,
                                isArray: true,
                                isDisabled: false,
                                label: "1室",
                                isMajorPic: false,
                                value: "1"
                              },
                              {
                                dataStr: false,
                                isScript: false,
                                isArray: true,
                                isDisabled: false,
                                label: "2室",
                                isMajorPic: false,
                                value: "2"
                              },
                              {
                                dataStr: false,
                                isScript: false,
                                isArray: true,
                                isDisabled: false,
                                label: "3室",
                                isMajorPic: false,
                                value: "3"
                              }
                            ],
                            hidden: false,
                            formKey: "room_type",
                            value: "2"
                          },
                          {
                            compare: false,
                            formType: "columSelect",
                            canEqual: false,
                            checkAll: false,
                            expression: true,
                            data: [
                              {
                                dataStr: false,
                                isScript: false,
                                isArray: true,
                                isDisabled: false,
                                label: "1厅",
                                isMajorPic: false,
                                value: "1"
                              },
                              {
                                dataStr: false,
                                isScript: false,
                                isArray: true,
                                isDisabled: false,
                                label: "2厅",
                                isMajorPic: false,
                                value: "2"
                              },
                              {
                                dataStr: false,
                                isScript: false,
                                isArray: true,
                                isDisabled: false,
                                label: "3厅",
                                isMajorPic: false,
                                value: "3"
                              }
                            ],
                            hidden: false,
                            formKey: "room_hall",
                            value: "3"
                          },
                          {
                            compare: false,
                            formType: "columSelect",
                            canEqual: false,
                            checkAll: false,
                            expression: true,
                            data: [
                              {
                                dataStr: false,
                                isScript: false,
                                isArray: true,
                                isDisabled: false,
                                label: "1卫",
                                isMajorPic: false,
                                value: "1"
                              },
                              {
                                dataStr: false,
                                isScript: false,
                                isArray: true,
                                isDisabled: false,
                                label: "2卫",
                                isMajorPic: false,
                                value: "2"
                              },
                              {
                                dataStr: false,
                                isScript: false,
                                isArray: true,
                                isDisabled: false,
                                label: "3卫",
                                isMajorPic: false,
                                value: "3"
                              }
                            ],
                            hidden: false,
                            formKey: "room_bit",
                            value: "2"
                          }
                        ],
                        compare: false,
                        formType: "modalMultipleFormKeySelect",
                        showValue: "2室3厅2卫",
                        canEqual: false,
                        checkAll: false,
                        expression: true,
                        hidden: false,
                        label: "房型",
                        value: "0",
                        placeHolder: "请选择",
                        multiSelect: true
                      }
                    ]
                  },
                ]
              },
              {
                formType: "addReleasePhoto",
                formKey: "opportunity__picurl",
                label: "添加照片",
                maxSize: 10,
                value: "", // ; 拼接url
                rules: [{
                  name: 'required',
                  value: true,
                  message: "请选择图片"
                }
                ],
              },
              {
                formType: "addReleasePhoto",
                formKey: "opportunity__picurl_1",
                label: "",
                cropperRatio:  2.7, // 宽比高 比例值
                allowCropper: true, // 开启裁剪
                cssStyle: "height: 8.25rem;background: #F5F5F5;border-radius: 0.5rem;width:calc(100vw - 2.25rem);margin:0 1.25rem",
                placeHolder: "尺寸:355px*132px",
                placeholderCssStyle: 'font-size: 0.75rem;color: #999999;line-height: 1.06rem;margin-top:0.5rem;padding-top:0',
                extra: '点击上传图片',
                extraCssStyle: 'font-size: 0.88rem;font-weight:blod;color: #222222;line-height: 1.06rem;padding-top:0.5rem',
                leftIconCssStyle: "width:2rem;height:2rem;margin-top:1.56rem",
                leftIcon: '../../../assets/icon/choose-img.png',
                maxSize: 1,
                value: "", // ; 拼接url
                rules: [{
                  name: 'required',
                  value: true,
                  message: "请选择图片"
                }
                ],
              },
              {
                formType: "photoSelectWidget",
                formKey: 'photos_contract',
                maxSize: 8, // 最多设置8张
                placeHolder: "添加备注图片(最多8张）",
                tips: '视频：请通过PC员工后台上传案例视频',
                value: 'htt',
                showValue: "<span style='font-size: 1rem;font-weight: bold;color: #252629;line-height: 1.31rem;'>上传凭证<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span><span style='font-size: 0.75rem;'>限8张</span></span>", // 当标题用
                delete: true, // 显示del
                cssStyle: "background:white;height: 4.95rem;width: 4.5rem;padding-top:0.8rem", // 图片外框样式
                valueCssStyle: 'height: 4.5rem;width: 4.5rem;border: 0.03rem solid #EDEDED;border-radius: 0.5rem;background: white;display: flex;justify-content: center;align-items: center;', // 图片样式
                // disabled: true,
                leftIconCssStyle: "width:2.5rem;height:2.5rem;",
                leftIcon: '../../../assets/icon/choose-img.png',
                rules: [{
                  name: 'required',
                  value: true,
                  message: "请选择图片"
                }]
              },
              {
                label: "公司<br>LOGO",
                formType: "photoSelectWidget",
                formKey: 'photos_logo',
                maxSize: 1, // 最多设置1张
                placeHolder: "最多1张",
                value: '',
                extra: '添加图片',
                rules: [{
                  name: 'required',
                  value: true,
                  message: "请选择图片"
                }]
              },
              {
                compare: false,
                formType: "showSingleSelect",
                canEqual: false,
                hidden: false,
                multiSelect: true, // 默认 false
                formKey: "send_sms",
                link: {
                  dataStr: false,
                  isScript: false,
                  icon: "icon_help_notes@3x.png",
                  isArray: true,
                  isDisabled: false,
                  label: "短信模板",
                  isMajorPic: false,
                  params: {
                    statistic_achievement_employee_city_id: "1101"
                  },
                  type: "modal",
                  target: "158743"
                },
                subHtmlObj: [
                  {
                    formType: "textInput",
                    formKey: 'photos_cact',
                    showCondition: "1,2",
                    placeHolder: "输入",
                    lable: "直营店名称",
    
                    value: '',
                    rules: [{
                      name: 'required',
                      value: true,
                      message: "请选择图片"
                    }]
                  }],
                itemList: [
                  {
                    dataStr: false,
                    isScript: false,
                    isArray: true,
                    check: false,
                    isDisabled: false,
                    label: "不发送",
                    isMajorPic: false,
                    value: "1"
                  },
                  {
                    dataStr: false,
                    isScript: false,
                    isArray: true,
                    check: false,
                    isDisabled: false,
                    label: "发送",
                    isMajorPic: false,
                    value: "2"
                  }
                ],
                label: "发送确认成交短信多选测试",
                value: "",
                placeHolder: "请选择"
              },
              {
                formType: "showSingleSelect",
                formKey: "inform",
                label: "请选择举报原因",
                value: "",
                itemList: [
                  {
                    label: "人工推荐成功",
                    value: "人工推荐成功",
                    check: false,
                    formObj: [ //  新增 在选项中增加表单项目
                      {
                        formType: "textInput",
                        label: "",
                        formKey: "name",
                        placeHolder: "请输入姓名",
                        textType: "text", //
                        value: '',
                        // disabled: false, // 是否禁用
                        delete: false,  // 属性 是可以清除已有的值 删除后可以提交空值
                        tips: "", // 提示
                        rules: [{
                          name: 'required',
                          value: false,
                          message: ""
                        }]
                      },
                      {
                        formType: "textInput",
                        label: "",
                        formKey: "name",
                        placeHolder: "请输入客户号码",
                        textType: "text", //
                        value: '',
                        // disabled: false, // 是否禁用
                        delete: false,  // 属性 是可以清除已有的值 删除后可以提交空值
                        tips: "", // 提示
                        rules: [{
                          name: 'required',
                          value: false,
                          message: ""
                        }]
                      },
                    ]
                  },
                  {
                    label: "手机号有误联系不上",
                    value: "手机号有误联系不上",
                    check: false
                  },
                ],
                rules: [
                ],
              },
              {
                formType: "grayItem",
              },
              {
                formType: "contractSelectWidget",
                formKey: "pageContract",
                label: "合同凭证",
                tips: "纸质合同",
                value: "true", // 不能设置''  要么就不返回
                rules: [
                ],
                subHtmlObj: [
                  {
                    formType: "photoSelectWidget",
                    formKey: 'photos_contract',
                    maxSize: 8, // 最多设置8张
                    placeHolder: "添加备注图片(最多8张）",
                    lable: "合同凭证",
                    tips: '视频：请通过PC员工后台上传案例视频',
                    value: '',
                    rules: [{
                      name: 'required',
                      value: true,
                      message: "请选择图片"
                    }]
                  },
                  {
                    formType: "textInput",
                    formKey: "pageContractNo",
                    label: "合同编号",
                    textType: 'number',
                    placeHolder: "选填",
                    value: "", // true or false
                    rules: [
                    ],
                  },
                ]
              },
    
              {
                formType: "pickerSelectLJ", // 同原 pickerSelect配置 加后缀  LJ 表示蜂喔发布用
                formKey: "industry_s",
                placeHolder: "请选择",
                label: "pickerSelectLJ行业",
                value: "", // , 拼接id
                delete: true, // 增加 是否显示删除
                leftIcon: "address",
                data: [{
                  label: "餐饮美食",
                  value: "11",
                  children: [
                    {
                      label: "餐饮美食01",
                      value: "1101",
                      children: null
                    },
                    {
                      label: "餐饮美食02",
                      value: "1102",
                      children: null
                    }]
                },
                {
                  label: "餐饮美食1",
                  value: "12",
                  children: [
                    {
                      label: "餐饮美食2",
                      value: "1202",
                      children: null
                    }]
                }],
    
                rules: [
                ],
              },

              {
                formType: "modalMultipleSelect",
                placeHolder: "modalMultipleSelect大小行业",
                formKey: "industry_m",
                label: "行业",
                value: "", // , 拼接id
                data: [{
                  label: "餐饮美食",
                  value: "11",
                  children: [
                    {
                      label: "全餐饮美食",
                      value: "11",
                      children: null
                    },
                    {
                      label: "餐饮美食01",
                      value: "1101",
                      children: null
                    },
                    {
                      label: "餐饮美食02",
                      value: "1102",
                      children: null
                    }]
                },
                {
                  label: "餐饮美食1",
                  value: "12",
                  children: [
                    {
                      label: "全餐饮美食1",
                      value: "12",
                      children: null
                    }, {
                      label: "餐饮美食2",
                      value: "1202",
                      children: null
                    }]
                }],
    
                rules: [
                ],
              },
              {
                formType: "modalMultipleSelectLJ",
                placeHolder: "modalMultipleSelectLJ",
                formKey: "industry_m",
                label: "行业LJ",
                labelCssStyle: '',
                value: "", // , 拼接id
                maxSize: 1, // 大行业只能选一个
                data: [{
                  label: "餐饮美食",
                  value: "11",
                  children: [
                    {
                      label: "全餐饮美食",
                      value: "11",
                      children: null
                    },
                    {
                      label: "餐饮美食01",
                      value: "1101",
                      children: null
                    },
                    {
                      label: "餐饮美食02",
                      value: "1102",
                      children: null
                    }]
                },
                {
                  label: "餐饮美食1",
                  value: "12",
                  children: [
                    {
                      label: "全餐饮美食1",
                      value: "12",
                      children: null
                    }, {
                      label: "餐饮美食2",
                      value: "1202",
                      children: null
                    }]
                }],
    
                rules: [
                ],
              },
              {
                formType: "modalMultipleSelect",
                formKey: "district_m",
                placeHolder: "请选择大小区域多选",
                label: "区域多选",
                value: "", // , 拼接id
                data: [{
                  label: "罗湖区",
                  value: "440303",
                  children: [
                    {
                      label: "全罗湖区",
                      value: "440303",
                      children: null
                    },
                    {
                      label: "蔡屋围",
                      value: "44030301",
                      children: null
                    },
                    {
                      label: "国贸",
                      value: "44030302",
                      children: null
    
                    }]
                },
                {
                  label: "福田区",
                  value: "440304",
                  children: [
                    {
                      label: "全福田区",
                      value: "440304",
                      children: null
                    },
                    {
                      label: "上啥",
                      value: "44030401",
                      children: null
                    },
                    {
                      label: "下沙",
                      value: "44030403",
                      children: null
                    }]
                }],
    
                rules: [
                ],
              },
    
              {
                formType: "releaseTypeWidget",
                formKey: "releaseType",
                value: "",
                itemList: [ // 一定是配的，穷举可穷尽的就用itemList
                  {
                    label: "转让",
                    value: 0,
                    check: false
                  },
                  {
                    label: "出租",
                    value: 1,
                    check: false
                  },
                  {
                    label: "选址",
                    value: 2,
                    check: false
                  },
                  {
                    label: "店铺",
                    value: 3,
                    check: false
                  },
                ],
                rules: [
                  {
                    name: 'required',
                    value: true,
                    message: "请选择发布类型"
                  }
                ]
              },
              {
                formType: "textInput",
                formKey: "release_phone",
                label: '',
                endIcon: '../../../assets/icon/release_icon_contact@3x.png',
                placeHolder: "请填写客户号码",
                value: "", // true or false
                rules: [
                  {
                    name: 'required',
                    value: true,
                    message: "请输入手机号码"
                  },
                  {
                    name: 'pattern',
                    value: "[1][3,4,5,6,7,8,9][0-9]{9}",
                    message: "请输入正确的手机号码"
                  },
                ],
              },
              {
                formType: "quickRelease",
                formKey: "quickRelease",
                label: "快速发布",
                value: 'false',
                rules: [
                ],
              },
              {
                formType: "checkBox",
                formKey: "choose",
                label: "撮合议价，协助成交",
                showValue: "500元",
                tips: "人工服务",
                value: '0',
                rules: [
                ],
              },
              {
                formType: "multipleListCheckbox",
                formKey: "choosePerson1",
                label: "面谈人员",
                value: '',
                showValue: '',
                data: [
                  {
                    label: "深圳王",
                    value: 1, // userId ？
                    tagLabel: '深圳总部',
                    phone: '1357999999',
                    otherPhone: '1357999999',
                    check: false
                  },
                  {
                    label: "深圳王",
                    value: 2, // userId ？
                    tagLabel: '深圳总部',
                    phone: '1357999999',
                    check: false
                  },
                  {
                    label: "深圳王",
                    value: 3, // userId ？
                    tagLabel: '深圳总部',
                    phone: '1357999999',
                    check: true
                  },
                ],
                rules: [
                ]
              },
              {
                formType: "singleListCheckbox",
                formKey: "choosePerson1",
                label: "面谈人员",
                value: '',
                showValue: '',
                data: [
                  {
                    label: "深圳王",
                    value: 0, // userId ？
                    tagLabel: '深圳总部',
                    otherPhone: '1357999999',
                    phone: '1357999999'
                  },
                  {
                    label: "深圳王",
                    value: 0, // userId ？
                    tagLabel: '深圳总部',
                    phone: '1357999999'
                  },
                  {
                    label: "深圳王",
                    value: 0, // userId ？
                    tagLabel: '深圳总部',
                    phone: '1357999999'
                  },
                ],
                rules: [
                ]
              },
              {
                formType: "multipleColumnSelectLJ",
                formKey: "wy",
                label: "物业配套",
                placeHolder: "multipleColumnSelect中弹窗",
                value: '',
                showValue: '',
                showCheckAll: 'true', // 7.3.0 新增属性 是否展示全选
                data: [
                  {
                    label: "可明火",
                    value: '0',
                    check: true
                  },
                  {
                    label: "上水",
                    value: '1',
                    check: true
                  },
                  {
                    label: "下水",
                    value: '2',
                    check: true
                  },
                  {
                    label: "排烟",
                    value: '3',
                    check: false
                  },
                ],
                rules: [
                ]
              },
              {
                formType: "multipleColumnSelect",
                formKey: "wy",
                label: "物业配套",
                placeHolder: "中弹窗可以全选",
                value: '',
                showValue: '',
                showCheckAll: 'true', // 7.3.0 新增属性 是否展示全选
                data: [
                  {
                    label: "可明火",
                    value: '0',
                    check: true
                  },
                  {
                    label: "上水",
                    value: '1',
                    check: true
                  },
                  {
                    label: "下水",
                    value: '2',
                    check: true
                  },
                  {
                    label: "排烟",
                    value: '3',
                    check: false
                  },
                ],
                rules: [
                ]
              },
              {
                formType: "singleColumnSelect",
                formKey: "choosePerson",
                label: "面谈人员",
                placeHolder: "选填",
                value: '',
                showValue: '',
                data: [
                  // {
                  //   type: 'value',
                  //   label: "我",
                  //   value: 0  // userId ？
                  // },
                  {
                    type: 'modal',
                    label: "选择面谈人员",
                    modal: { display: {}, esTable: {}, research: { value: 'keyword' } },
                    submit: {
                      id: "serviceBuy",
                      type: "modal",
                    }
                  }
                ],
                rules: [
                ]
              },
              {
                formType: "singleColumnSelect",
                formKey: "talk-way",
                label: "职称<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
                placeHolder: "请选择",
                value: '',
                showValue: '',
                // disabled: true,
                data: [
                  {
                    label: "已上门洽谈",
                    value: 0
                  },
                  {
                    label: "已来公司接待",
                    value: 1
                  }
                ],
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择面谈方式"
                  }
                ]
              },
              {
                formType: "radioButton",
                label: "买房意向",
                formKey: "houseShop",
                value: '',
                itemList: [
                  {
                    label: "新房",
                    check: false
                  },
                  {
                    label: "二手房",
                    value: 0,
                    check: true
                  }
                ],
                rules: [
                ]
              },
              {
                formType: "radioButtonLJ",
                label: "主卧LJ",
                formKey: "modifyShopName",
                value: '',
                itemList: [
                  {
                    label: "主卧",
                    check: false
                  },
                  {
                    label: "次卧",
                    value: 0,
                    check: true
                  }
                ],
                rules: [
                ]
              },
              {
                formType: "switchButtonLJ",
                label: "租金约LJ多选",
                formKey: "modifyShopName1",
                multiSelect: true, // false 单选
                leftIcon: 'http',
    
                link: {
    
                },
                cssStyle: 'height: 3.5rem;background: #F3F3FF;border-radius: 0.75rem;padding:0 0.75rem;display:flex;margin:0.5rem',
                labelCssStyle: 'flex-grow:1;',
                valueCssStyle: 'flex-grow:1;justify-content:flex-end;',
                value: '',
                itemList: [
                  {
                    label: "填写",
                    value: "0",
                    check: true
                  },
                  {
                    label: "面议",
                    value: "1",
                    check: true
                  }
                ],
                rules: [
                ],
              },
              
              {
                formType: "switchButton",
                label: "同步修改信息店名",
                formKey: "modifyShopName",
                value: '',
                hasBorder : true,
                itemList: [
                  {
                    label: "是", // 选是 则提交店名进行修改
                    value: 1,
                    check: false
                  },
                  {
                    label: "否",
                    value: 0,
                    check: true
                  }
                ],
                rules: [
                ],
              },
    
              {
                formType: "datePlug",
                formKey: "time",
                label: "datePlug",
                placeHolder: "请选面谈时间",
                showValue: '7年',
                max: '2021-06',
                value: "",
                mode: 'month',
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择面谈时间",
                  }
                ],
    
              },
              {
                formType: "datePicker",
                formKey: "time",
                label: "面谈时间",
                placeHolder: "请选面谈时间",
    
                value: "",
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择面谈时间",
                  }
                ],
    
              },
              {
                formType: "datePickerLJ",
                formKey: "time1",
                label: "面谈时间LJ",
                placeHolder: "请选面谈时间",
                mode: "date",
                value: "",
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请选择面谈时间",
                  }
                ],
    
              },
              {
                formType: "textArea",
                formKey: "mark1",
                maxLength: 260, // 必须 显示字数统计
                value: '',
                hasBorder: true,
                placeHolder: "请填写面谈备注",
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请填写面谈备注",
                  }
                ]
    
              },
              {
                label: "面谈时间",
                formType: "textAreaLJ",
                formKey: "mark2",
                maxLength: 260, // 必须 显示字数统计
                value: '',
                hasBorder: true,
                placeHolder: "请填写面谈备注",
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请填写面谈备注",
                  }
                ]
    
              },
              {
                formType: "photoSelectWidget",
                formKey: 'photos',
                maxSize: 8, // 最多设置8张
                placeHolder: "添加备注图片(最多8张）",
                tips: '视频：请通过PC员工后台上传案例视频',
                value: '',
                rules: [{
                  name: 'required',
                  value: true,
                  message: "请选择图片"
                }]
              },
              {
                formType: "textAreaLines",
                formKey: "mark2",
                label: "款项说明lines",
                showValue: 1, // 行数
                value: '',
                hasBorder: true,
                defValue: "textAreaLines",
                placeHolder: "请填写款项说明",
                rules: [
                  {
                    name: 'required',
                    value: false,
                    message: "请填写款项说明",
                  }
                ]
    
              },
              {
                formType: "textInput",
                label: "真实姓名",
                formKey: "userName",
                placeHolder: "请填写",
                textType: "text", // text /phone /number password 其他标准 html input type 类型
                editable: true, // 是否可编辑
                // disabled: false, // 是否禁用
                clear: false,  // 是否带清除功能(仅editable为true,disabled为false才生效)
                extra: '元',   // 右边注释 带单位显示文本框
                // endIcon: 'x.png', // 右边小图标
                value: '',     // 提交的值
                minLength: 2,  // 最大长度
                maxLength: 5,  // 最小长度
                max: 99999,    // 最大值
                min: 0,         // 最小值
                rules: [{
                  name: 'required',
                  value: false,
                  message: "真实姓名必填"
                }]
              },
              {
                formType: "textInput",
                label: "手机号码",
                formKey: "phone",
                placeHolder: "请填写",
                value: '',
                endIcon: '.png',  // 右侧 小图标
                rules: [
                  // 所有的message 写在数组中
                  // required max  maxLength maxSize 规则可以写数组中为了获得指定的message
                  // 同时写数组外能更好的实时限制输入，只写在数组中则只能在提交的时候校验。
                  {
                    name: 'required',
                    value: false,
                    message: "手机号码必填"
                  },
                  // {
                  //   name: 'max',
                  //   value: 14444444444,
                  //   message: "最大值14444444444"
                  // },
                  // {
                  //   name: 'maxLength',
                  //   value: 11,
                  //   message: "请输入11位数手机号码"
                  // },
                  // {
                  //   name: 'minLength',
                  //   value: 11,
                  //   message: "请输入11位数手机号码"
                  // },
                  // {
                  //   name: 'pattern',
                  //   value: "[1][3,4,5,6,7,8,9][0-9]{9}",
                  //   message: "请输入正确的手机号码"
                  // },
                ]
              },
    
              {
                formType: "uploadIdentityWidget",
                label: "身份证照",
                subHtmlObj: [
                  {
                    // disabled: true,
                    formKey: "identityFront",
                    defaultImage: "../../../assets/img/authentication_img_positive@3x.png",
                    placeHolder: "点击上传带头像一面",
                    value: "abc",
                    label: "正面照",
                    fileType: '',
                    fileId: '',
                    rules: [
                      {
                        name: 'required',
                        value: false,
                        message: "请上传带头像一面身份证照"
                      }
                    ]
                  },
                  {
                    formKey: "identityBack",
                    // disabled: true,
                    defaultImage: "../../../assets/img/authentication_img_positive@3x.png",
                    placeHolder: "点击上传带国辉一面",
                    value: "",
                    label: "反面照",
                    fileType: '',
                    fileId: '',
                    rules: [
                      {
                        name: 'required',
                        value: false,
                        message: "请上传带国辉一面身份证照"
                      }
                    ]
                  },
                  {
                    formKey: "identityHold",
                    // disabled: true,
                    defaultImage: "../../../assets/img/authentication_img_positive@3x.png",
                    placeHolder: "点击上传手持一面",
                    value: "",
                    label: "手持身份证照",
                    rules: [
                      {
                        name: 'required',
                        value: false,
                        message: "请上传手持身份证照"
                      }
                    ]
                  }
                ]
              },
              {
                subHtmlObj: [{
                  subHtmlObj: [
                    {
                      formType: "textInput",
                      endIcon: "xxx.png",
                      rules: [
                        {
                          name: "required",
                          message: "请填写副标题",
                          value: "false"
                        }
                      ],
                      label: "左一店铺",
                      maxLength: "10",
                      placeHolder: "选填"
                    },
                    {
                      formType: "textInput",
                      endIcon: "xxx.png",
                      rules: [
                        {
                          name: "required",
                          message: "请填写副标题",
                          value: "false"
                        }
                      ],
                      label: "左二店铺",
                      maxLength: "10",
                      placeHolder: "选填"
                    },
                    {
                      formType: "textInput",
                      endIcon: "xxx.png",
                      rules: [
                        {
                          name: "required",
                          message: "请填写副标题",
                          value: "false"
                        }
                      ],
                      label: "左三店铺",
                      maxLength: "10",
                      placeHolder: "选填"
                    }
                  ],
                  formType: "multipleForm",
                  formKey: "left_shop",
                  value: ""
                },
                {
                  subHtmlObj: [
                    {
                      formType: "textInput",
                      endIcon: "xxx.png",
                      rules: [
                        {
                          name: "required",
                          message: "请填写副标题",
                          value: "false"
                        }
                      ],
                      label: "右一店铺",
                      maxLength: "10",
                      placeHolder: "选填"
                    },
                    {
                      formType: "textInput",
                      endIcon: "xxx.png",
                      rules: [
                        {
                          name: "required",
                          message: "请填写副标题",
                          value: "false"
                        }
                      ],
                      label: "右二店铺",
                      maxLength: "10",
                      placeHolder: "选填"
                    },
                    {
                      formType: "textInput",
                      endIcon: "xxx.png",
                      rules: [
                        {
                          name: "required",
                          message: "请填写副标题",
                          value: "false"
                        }
                      ],
                      label: "右三店铺",
                      maxLength: "10",
                      placeHolder: "选填"
                    }
                  ],
                  formType: "multipleForm",
                  formKey: "right_shop",
                  value: ""
                }
                ],
                formType: "commaSpliceShowValueForm",
                showValue: "",
                label: "左邻右舍",
                placeHolder: "选填"
              },
              {
                formType: "hintText",
                label: "提示标签",
                tips: "说明", // 新增
                background: "css",
                canEqual: false,
                checkAll: false,
                expression: true,
                showValue: "表示内容",
                leftIcon: ".../png"
              },
              {
                formType: "titleTip",
                label: "标题标签",
                tips: "说明", // 新增
                canEqual: false,
                checkAll: false,
                expression: true,
                background: "css",
                showValue: "表示内容",
                leftIcon: ".../png"
              }
              , {
                subHtmlObj: [
                  {
                    compare: false,
                    formType: "columSelect",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    data: [
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "1室",
                        isMajorPic: false,
                        value: "1"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "2室",
                        isMajorPic: false,
                        value: "2"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "3室",
                        isMajorPic: false,
                        value: "3"
                      }
                    ],
                    hidden: false,
                    formKey: "room_type",
                    value: "2"
                  },
                  {
                    compare: false,
                    formType: "columSelect",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    data: [
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "1厅",
                        isMajorPic: false,
                        value: "1"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "2厅",
                        isMajorPic: false,
                        value: "2"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "3厅",
                        isMajorPic: false,
                        value: "3"
                      }
                    ],
                    hidden: false,
                    formKey: "room_hall",
                    value: "3"
                  },
                  {
                    compare: false,
                    formType: "columSelect",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    data: [
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "1卫",
                        isMajorPic: false,
                        value: "1"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "2卫",
                        isMajorPic: false,
                        value: "2"
                      },
                      {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        label: "3卫",
                        isMajorPic: false,
                        value: "3"
                      }
                    ],
                    hidden: false,
                    formKey: "room_bit",
                    value: "2"
                  }
                ],
                compare: false,
                formType: "modalMultipleFormKeySelect",
                showValue: "2室3厅2卫",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                label: "房型",
                value: "0",
                placeHolder: "请选择",
                multiSelect: true
              }
            ]
          },
          
              {
                
                  formType: "richTextEdit2",
                  formKey: 'richTextEdit2',
                  label: "",
                  labelCssStyle: "font-size: 1rem;font-weight: bold;color: #000000;line-height: 1.38rem;padding:0 1.25rem;",
                  // valueCssStyle: "width:100%;height:15rem",
                  valueCssStyle: "width:100%;height:80vh;"  ,
                  placeHolder: "请填写",
                  showValue: '10',
                  maxSize: 55 // 0x37 屏蔽图片选择
                },
                {
                  formType: "datePickerLJ",
                  formKey: "time1",
                  label: "",
                  tips:'面谈时间',
                  placeHolder: "请选面谈时间",
                  mode: "date",
                  value: "",
                  tipsCssStyle:'color:red;',
                  leftIconCssStyle:'',// 左边icon通过样式配置背景图
                  valueCssStyle:"text-align:right;color:red;margin-right:0.35rem;",// 选择时间后的样式
                  placeholderCssStyle:"text-align:right;margin-right:0.35rem;",
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择面谈时间",
                    }
                  ],
      
                },
                {
                  showSureBtn:true,
                  formType:"addServiceSpecification",
                  formKey: "addSpkey",
                  value: "",
                  label: "添加收费服务",
                  labelCssStyle:"height: 3.75rem;background: linear-gradient(180deg, #FFF9E6 0%, #FFFFFF 100%);border-radius: 0.75rem 0.75rem 0rem 0rem;display: flex;align-items: center;justify-content: space-between; ",
                  extra: "添加收费服务",
                  leftIcon:'http://', // 添加icon
                  endIcon:'http://',// 删除icon
                  cssStyle: "",
                  leftIconCssStyle: "", // 图标的样式 
                  itemListCssStyle: "", // 整行样式
                  showValueCssStyle: "", // 内容样式
                  valueCssStyle: "", // 价格样式
                  extraCssStyle: '', // 添加按钮样式
                  modalCssStyle:"margin:auto 1.69rem;overflow: hidden;border-radius: 0.69rem;",
                  itemList:[],
                  subHtmlObj: [
                    {
                      showValueCssStyle: "background: white;width: auto;margin: 0 0.75rem;",
                      cssStyle: "--padding-satrt: 0.75rem;",
                      label: "填写名称1",
                      formType: "textAreaLJ",
                      formKey: "",
                      maxLength: 50, // 必须 显示字数统计
                      value: '',
                      hasBorder: true,
                      placeHolder: "请填写",
                      
                      rules: [
                        {
                          name: 'required',
                          value: false,
                          message: "请填写",
                        }
                      ]
          
                    },
                  
                    {
                      label: "设置价格1",
                      formType: "textInputLJ",
                      textType: "number",
                      extra: "元",
                      valueCssStyle: 'font-size:1rem;font-weight:normal;',
                      extraCssStyle: "font-size: 1rem;color: #999999;",
                      rules: [
                        {
                          name: "required",
                          message: "请填写",
                          value: "true"
                        }
                      ],
                      placeHolder: "请填写"
                    }
                  ],
      
                },
                {
                  showErrorStyle:false, // 默认false 或者不返 为true显示错误状态样式
                  compare: false,
                  formType: "textInput",
                  hidden: false,
                  extra: '平米',
                  formKey: "area",
                  rules: [
                    {
                      name: "pattern",
                      message: "请填写正确的面积",
                      value: ".{0,50}"
                    },
                    {
                      name: "required",
                      message: "请填面积",
                      value: "true"
                    }
                  ],
                  label: "面积",
                  maxLength: 20,
                  placeHolder: "请填写"
                },
                {
                  formType: "showSingleSelect",
                  formKey: "inform",
                  label: "",
                  value: "",
                  leftIconCssStyle: "position: absolute;right:0;margin-right:0.1rem;top:0.69rem", // 勾选图标的样式 
                  placeholderCssStyle: "display: flex;align-items: center;position:relative;flex-wrap:wrap;", // 未选择整行样式
                  itemListCheckedCssStyle: "display: flex;align-items: center;position:relative;flex-wrap:wrap;", // 选择整行样式
                  itemListIconCssStyle: "width:2rem;height:2rem;margin-right:0.75rem;", // 左边图片样式
                  
                  showValueCssStyle: "font-size: 1rem;font-weight:bold;color: #222222;line-height: 1.38rem;", // 第一行字
                  valueNCssStyle: "font-size:0.75rem;color: #999999;line-height: 1rem;", // 第二行字
                  extraCssStyle: 'flex-basis:80%;', // 中间两行文字
                  itemList: [
                    {
                      icon: "http",
                      label: "个人入驻",
                      value: "1",
                      valueN: "个人、个体户或公司职员选择本项",
                      check: false,
                    },
                    {
                      icon: "http",
                      label: "个体户入驻",
                      value: "2",
                      valueN: "员工、业绩统一管理",
                      check: false,
                      formObj: [ //  新增 在选项中增加表单项目
                        {
                          cssStyle: "height: 2.5rem;background: #F5F5F5;border-radius: 0.38rem;margin-top: 1rem;padding: 0 0.69rem;flex: auto;margin-left:0;margin-right:0;",
                          formType: "textInput",
                          label: "",
                          formKey: "name1",
                          placeHolder: "请完整企业名称",
                          textType: "text", //
                          value: '',
                          // disabled: false, // 是否禁用
                          delete: false,  // 属性 是可以清除已有的值 删除后可以提交空值
                          tips: "", // 提示
                          rules: [{
                            name: 'required',
                            value: false,
                            message: ""
                          }]
                        },
      
                      ]
                    },
                  ],
                  rules: [
                  ],
                },
                {
                  formType: "checkBox",
                  formKey: "choose1",
                  label: "身份证有效期",
                  // label: "撮合议价，协助成交",
                  // showValue: "500元",
                  // tips: "人工服务",
                  extra: "长期有效",
                  cssStyle: "border:none;justify-content:start;padding-left:0;",
                  endIconCssStyle: "margin:0 0.5rem",
                  labelCssStyle: "",
                  value: '0',
                  rules: [
                  ],
                  subHtmlObj: [
                    {
                      formType: "timeSlot",
                      showCondition: "0",
                      label: "有效期<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
                      compare: false,
                      lessTip: "", //  最大值小于最小值时提示
                      equalTip: "", // 最大值等于最小值时提示
                      mode: "date",
                      subHtmlObj: [
                        {
                          formType: "time",
                          valueCssStyle: "padding:0.35rem;1.25rem;height:auto;",
                          formKey: 'operate_begin_time1',
                          value: "",
                          showValue: '',
                          placeHolder: "开始日期",
                          rules: [
                            {
                              name: 'required',
                              value: true,
                              message: "设置开始时间"
                            }
                          ],
                        },
                        {
                          placeHolder: "到期日期",
                          valueCssStyle: "padding:0.35rem;1.25rem;margin-left:1rem;height:auto;",
                          formType: "time",
                          formKey: 'operate_end_time1',
                          value: "",
                          showValue: '',
                          rules: [
                            {
                              name: 'required',
                              value: true,
                              message: "设置开始时间"
                            }
                          ]
                        }
                      ]
                    },
                  ]
                },
      
                {
                  formType: "selectBank",
                  cssStyle: "margin-top:0.5rem;padding:0.75rem 1rem",
                  formKey: "bank_code",
                  formKeys: "bank_name",
                  label: "支行名称",
                  labelCssStyle: "flex-basis:31%",
                  showValueCssStyle: "",
                  itemListCssStyle: "align-items:baseline", // 可以修改行高度
                  placeHolder: "请选择支行",
                  value: 0, // code
                  showValue: '', // 支行名称
                  endIcon: "http:png",
                  endIconCssStyle: "",
      
                  link: {
                    type: "searchInput",
                    params: {
                        bank_num_name: "",
                        placeholder: "请输入关键字"
                    },
                    target: '177155'
                  },
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择"
                    }
                  ]
                },
                {
      
                  formType: "fourLevelAddress",
                  label: "地址",
                  formKey: "fourLevelAddress",
                  formKeys: "addressList", // 应当要加一个字段用存储选择好的省市区四级数据名称+code，方便编辑时候还原展示上次选择。
                  extra: "", // 接收 存储选择好的省市区四级数据名称+code 数组
                  value: "",
                  lines: "inset",
                  placeHolder: "省、市、区、街道",
                  showValue: "",
                  cssStyle: "margin:0 1rem;",
                  labelCssStyle: "padding-left:0",
                  link: {
                    type: "modal",
                    target: "177119",
                    params: {
                      cssStyle: "height:75vh;overflow:unset;overflow-y: hidden;",
                      modalCss: "bottom",
                         codeEventName:"sss"
                    }
                  }
                },
                {
                  formType: "copyAddress",
                  cssStyle: "margin-top:0.5rem",
                  formKey: "cydi",
                  label: "收货地址",
                  labelCssStyle: "font-size: 0.88rem;color: #222222;flex-shrink:0;",
                  showValueCssStyle: "text-align:right",
                  valueCssStyle: "text-align:right;font-size: 0.88rem;font-weight: bold;line-height: 1.25rem;color: #222222;",
                  itemListCssStyle: "align-items:baseline", // 可以修改行高度
                  placeHolder: "明月心 13632505539 广东省深圳市南山区粤海街道公园B座2101",
                  value: '明月心 13632505539',
                  showValue: '广东省深圳市南山区粤海街道公园B座2101',
                  extra: "复制",
                  extraCssStyle: "font-size: 0.75rem;color: #FE990D;"
      
                },
                {
                  formType: "selectAddress",
                  cssStyle: "margin-top:0.5rem;padding:0",
                  formKey: "xzdi",
                  label: "取件地址",
                  labelCssStyle: "font-size: 0.88rem;color: #222222;flex-shrink:0;margin-left:0",
                  showValueCssStyle: "font-size: 0.88rem;font-weight: bold;line-height: 1.25rem;color: #222222;text-align:right",
                  tipsCssStyle: "text-align:right",
                  itemListCssStyle: "align-items:baseline", // 可以修改行高度
                  placeHolder: "",
                  value: 0,
                  showValue: '',
                  tips: '',
                  submit: {
                    id: "64a743a9-7739-4338-b125-c7d2d5141290",
                    isDisabled: false,
                    content: {
      
                    },
                  },
                  // leftIcon: 'http://icon.png',
                  // disabled: false,
                  showData: {
                    label: "广东省深圳市南山区粤海街道公园B座2101",
                    // icon: "1",
                    tips: "明月心 13632505539",
                    value: 1,
      
                  },
                  data: [
                    {
                      label: "广东省深圳市南山区粤海街道公园B座2101",
                      // icon: "1",
                      tips: "",
                      value: 1,
                      link: {
                        type: 'page',
                        params: {},
                        target: '116829'
                      },
      
                    },
                    {
                      label: "添加地址",
                      icon: "",
                      tips: "",
                      value: 0,
                      link: {
                        type: 'page',
                        params: {},
                        target: '116826'
                      },
                    },
      
      
                  ],
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择"
                    }
                  ]
                },
                {
                  formType: "editItemListTable",
                  formKey: "speId",
                  label: "规格",
                  defValue: "拿货价",
                  extra: "零售价",
                  tips: "利润",
      
                  labelCssStyle: "font-size:0.75rem;color: #999999;",
                  defValueCssStyle: "font-size:0.75rem;color: #999999;margin-right:0.5rem;",
                  extraCssStyle: "font-size:0.75rem;color: #999999;",
                  tipsCssStyle: "text-align:right;font-size:0.75rem;color: #999999;",
                  value: "",
                  showValue: '',
                  // unit: "元",
                  showValueCssStyle: "",
                  textType: 'number',
                  placeHolder: "请填写",
                  valueNCssStyle: "font-size:0.75rem",
                  itemList: [
                    {
                      valueN: "1000", // 规格编号
                      label: "50L无废水50L无废水50L无废水", //
                      minValue: "1780", // 拿货价
                      value: '2980', // 零售价格 填写 初始值==valueDef
                      // valueDef: "2980", // 零售价格 默认值 灰色中划线
                      profit: "1000", // 利润
                      labelCssStyle: "font-size:0.75rem;flex:1;",
                      profitCssStyle: "text-align:right;font-size:0.75rem",
                      valueNCssStyle: "font-size:0.75rem",
                      minValueCssStyle: "font-size:0.75rem",
                      valueCssStyle: "font-size:0.75rem",
                      valueDefCssStyle: "font-size:0.75rem",
      
                    },
                    {
                      valueN: "10001", // 规格编号
                      label: "60L无废水60L无废水60L无废水", //
                      miniValue: "1880", // 拿货价
                      value: '3980', // 零售价格 填写 初始值==valueDef
                      valueDef: "3980", // 零售价格 默认值 灰色中划线
                      profit: "2000", // 利润
                      profitCssStyle: "text-align:right;"
                    },
                  ]
                },
                {
                  compare: false,
                  formType: "textInputLJOneLine",
                  hidden: false,
                  extra: "元",
                  labelCssStyle: "flex-basis: 7rem;font-size: 1rem;",
                  extraCssStyle: "color:#999999;",
                  valueCssStyle: "font-size:1rem;font-weight:bold;color: #222222;line-height: 1.38rem;",
                  valueNCssStyle: "flex-grow: 1;margin-left:0;border:unset",
                  formKey: "wgg",
                  rules: [
                    {
                      name: "pattern",
                      message: "",
                      value: ".{0,50}"
                    },
                    {
                      name: "required",
                      message: "请填",
                      value: "true"
                    }
                  ],
                  label: "零售价",
      
                  maxLength: 3,
                  placeHolder: "请填写"
                },
                {
                formType: "editItemList",
                label: "进货价",
                formKey: "speId",
                extra: "零售价格",
                value: "",
                showValue: '',
                unit: "元",
                showValueCssStyle: "",
                valueCssStyle: "",
                textType: 'number',
                itemList: [
                  {
                    label: "3斤装", //
                    minValue: '100元', // 进货价
                    value: '', // 零售价格 填写
                    valueN: "1000", // 规格编号
                    valueDef: "请填写", // 零售价格 默认
      
                  },
                  {
                    label: "5斤装", //
                    minValue: '100元', // 进货价
                    value: '', // 零售价格
                    valueN: "1001", // 规格编号
                    valueDef: "请填写", // 零售价格 默认
      
                  },
                 ]
              },
                {
                  formType: "multipleSelect3",
                  label: "主营建材2-1",
                  formKey: "skill",
                  showCheckAll: true,
                  endIcon: 'http',
                  leftIcon: 'http',
                  tipsBgCssStyle: "align-items:baseline",
                  maxSize: 5, // 一级大分类数量限制 默认：0 多选
                  tips: '选择的分类的相关商品都将会上架到店铺',
                  link: {
                    type: 'modalPage ',
      
                  }, // ？
                  value: '',
                  children: [
                    {
                      label: "水电",
                      value: "11",
                      maxSize: 1 , // 控制该类别下 二级单选；  默认：0 多选
                      children: [
                        {
                          label: "水电材料",
                          value: "1101",
                          children: [
                            {
                              label: "电线、电缆",
                              value: "1101001",
                              children: null
                            },
                            {
                              label: "电气控制",
                              value: "1101002",
                              children: null
                            }]
                        },
                        {
                          label: "水电材料2",
                          value: "1102",
                          children: [
                            {
                              label: "2电线、电缆",
                              value: "1102001",
                              children: null
                            },
                            {
                              label: "2电气控制",
                              value: "1102002",
                              children: null
                            }]
                        },
                        {
                          label: "水电材料3",
                          value: "1103",
                          children: []
                        }
                        ,
                        {
                          label: "水电材料4",
                          value: "1104",
                          children: []
                        }
                      ]
      
                    },
                    {
                      label: "地面",
                      value: "12",
                      children: [
                        {
                          label: "地面材料",
                          value: "1201",
                          children: [
                            {
                              label: "瓷砖",
                              value: "1201001",
                              children: null
                            },
                            {
                              label: "木地板",
                              value: "1201002",
                              children: null
                            }]
                        }]
                    },
                    {
                      label: "测试仅2级",
                      value: "13",
                      children: [
                        {
                          label: "测试2级1",
                          value: "1301",
                          children: [
                          ]
                        },
                        {
                          label: "测试2级2",
                          value: "1302",
                          children: [
                          ]
                        },
                        {
                          label: "测试2级3",
                          value: "1303",
                          children: [
                          ]
                        }
                      ]
                    }
                  ]
                  ,
                },
                {
                  formType: "textAreaLines",
                  formKey: "mark2",
                  label: "详细地址",
                  showValue: 1, // 行数 可以自动高度
                  value: '',
                  hasBorder: true,
                  valueCssStyle: 'font-weight:bold;',
                  placeHolder: "详细地址",
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "详细地址",
                    }
                  ]
      
                },
                {
                  cssStyle: '',
                  formType: "pickerSelectDate",
                  formKey: "pickerDate",
                  maxSize: 30, // 天数范围
                  label: "面试时间",
                  labelCssStyle: '',
                  placeHolder: "请选择",
      
                  showValue: "",
                  valueCssStyle: "font-weight: bold;",
                  value: '',
                  children: [
                    {
                      label: '随时可面',
                      value: '随时可面',
                      children: [
                      ]
                    }, {
                      label: '4月6日（今天）',
                      value: '4月6日（今天）',
                      children: [
                        {
                          label: '上午',
                          value: '上午',
                          children: []
                        },
                        {
                          label: '下午',
                          value: '下午',
                          children: []
                        },
                      ]
                    }]
                  },
                // ], // debug:
                // htmlObj1: [
                {
                  formType: "photoSelectWidget",
                  orc: "true",
                  orcKey: "公司名称",
                  formKey: 'photos_contract',
                  icon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png", // 编辑文字 图标
                  textType: 'textInput', // 图片增加名称填写时 必需
                  valueIndex: "demo资质", // 图片名称value
                  formKeys: 'valueIndexKey', // 图片名称key
                  maxSize: 8, // 最多设置8张
                  placeHolder: "添加备注图片(最多8张）",
                  tips: '视频：请通过PC员工后台上传案例视频',
                  value: 'htt',
                  background: "padding:0 1rem",
                  labelCssStyle: "margin-bottom:-0.75rem",
                  showValue: "<span style='font-size: 1rem;font-weight: bold;color: #252629;line-height: 1.31rem;'>上传凭证<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span><span style='font-size: 0.75rem;'>限8张</span></span>", // 当标题用
                  delete: true, // 显示del
                  cssStyle: "background: white;height: 8.81rem;width: 6.25rem;display: flex;align-items: center;margin-right:0.75rem;margin-bottom:1.25rem;flex-direction: column;", // 图片外框样式
                  valueCssStyle: 'height: 6.25rem;width: 6.25rem;background: #F5F5F7;border-radius: 0.13rem;display: flex;justify-content: center;align-items: center;margin-top:0.5rem', // 图片样式
                  // disabled: true,
                  leftIconCssStyle: "width:1.8rem;height:1.8rem;",
                  // leftIcon: '../../../assets/icon/choose-img.png', // + 图片配置
                  hasBorder: false, // 新样式无图片时候居中  true
                  extra: '上传图片',
                  rules: [{
                    name: 'required',
                    value: true,
                    message: "请选择图片"
                  }]
                },
                {
                  label: "账号时长",
                  extra: "天",
                  eventName: 'sendDay',
                  showValue: "",
                  formType: "textInput",
                  textType: 'number'
                },
                {
                  // textInput中配 eventName="sendDay" 表示 要计算当期日期开始往后的日期 sectionDesc 中配   eventName="receiverDay"接收精选价格
                  formType: "sectionDesc",
                  eventName: "receiverDay",
                  showValue: '', // 日期
                  value: '',  // 日期
                  label: "账号到期日期：",
                  cssStyle: "", //
                },
                {
                  formType: "backTips",
                  showValue: "onlyBack"
                }
                ,
                {
                  formType: "selectCommunityAddress",
                  label: "服务地址",
                  formKey: "selectCommunityAddress",
                  value: "",
                  lines: "inset",
                  placeHolder: "请添加服务地址",
                  showValue: "",
                  link: {
                    type: "page",
                    target: "144819",
                    params: {latitude: 22.548511, longitude: 114.06611, selectItemBack: "true"}
                  }
                },
                {
                  formType: "selectService",
                  label: "客户需要的服务是",
                  formKey: "selectService",
                  value: "",
                  lines: "inset",
                  placeHolder: "请添选择",
                  showValue: "",
                  link: {
                    type: "page",
                    target: "144819", // 改为原 服务类别page
                    params: {selectItemBack: "true"}
                  }
                },
                {
                  formType: "selectCommunityAddressJoin",
                  formKey: "selectCommunityAddressJoin",
                  labelCssStyle: 'color: #222222',
                  valueCssStyle: 'color: #222222',
                  cssStyle: 'background: #FFFFFF',
                  sepCssStyle: 'background: #22222280',
                  placeholderCssStyle: 'color: #22222280',
                  placeHolder: "请选择",
                  label: "服务小区",
                  endIcon: 'http:',
                  value: "",
                  link: {
                    type: "page",
                    target: "144819",
                    params: {latitude: 22.548511, longitude: 114.06611, selectItemBack: "true"}
                  }
                },
      
                {
                  formType: "backTips",
                  showValue: "onlyBack"
                }
                ,
                {
                  formType: "sectionDesc",
                  label: "{李甜甜}",
                  value: "",
                  lines: "inset",
                  showValue: "",
                  sepCssStyle: "height: 0.63rem;background: rgb(255, 235, 56);position: absolute;bottom: -0.35rem;left: 0px;display: inline-block;z-index: 0;left: 1.25rem;right: 0;" , // 底线样式
                  cssStyle: 'width: 100%;height: 114.3vw;background-image: url("http://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677053155549cecf62193e5436cc6cd6711c87e10dad.png");background-repeat: no-repeat;background-position: center;background-size: 100%;display:block;padding:0;',
                  labelCssStyle: 'margin-top:14%;margin-left:1.25rem;font-size: 1.5rem;font-weight: bold;color: #222222;line-height: 2.06rem;display:inline-block;width:auto;position: relative;z-index: 1;"',
                },
                {
                  formType: "switchButtonFW_3",
                  formKey: "shopType",
                  cssStyle: "margin-top:-8rem",
                  itemListBgCssStyle: "display: flex;flex-direction: column;align-items: center;background: #FFF4C5;border-radius: 0.5rem;height: 5.5rem;width:100%;justify-content:center;",
                  itemListCssStyle: "padding:0.25rem;height: 6rem;background: linear-gradient(360deg, #FFD324 0%, #E3ED6C 100%);border-radius: 0.75rem;position: relative;", // 没有选中时
                  itemListCheckedCssStyle: "padding:0.25rem;height: 6rem;background: #222222;border-radius: 0.75rem;position: relative;", // 有选中时
                  itemListIconCssStyle: "filter:none;height:1.25rem;width:1.25rem;", // 图片样式
                  label: "",
                  value: '1',
                  valueCssStyle: "line-height:1rem;font-size:0.69rem;color:#999999;", // 选中 字
                  placeholderCssStyle: "line-height:1rem;font-size:0.69rem;color:#999999;", // 没有选中 字
                  valueNCssStyle: "margin-top:0.13rem;font-size:0.88rem;font-weight:bold;color: #222222;line-height:1.25rem;", // 新增上行文字选中 字
                  placeholderNCssStyle: "margin-top:0.13rem;font-size:0.88rem;font-weight:bold;color: #222222;line-height: 1.25rem;", // 新增上行文字 没有选中 字
                  multiSelect: false,
                  leftIcon: 'https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116708660000a81a02b28f932a30f945683ad3a74.png', // 未选择右上角icon
                  endIcon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677116763174bf92f6848f4c68821ffbe091f05fd109.png", // 选择右上角 icon 此时不能配置tips
                  leftIconCssStyle: 'width:1.13rem;height:1.13rem',
                  endIconCssStyle: 'width:1.13rem;height:1.13rem',
                  showValue: '',
                  maxSize: 2,
                  itemList: [
      
                    {
                      label: "店铺转让、出租",
                      value: '1',
                      icon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_16676147447273c7645e868f45fa238897bb0b04632aa.png", // 用彩色图片 不选中自动处理灰度
                      valueN: "商品服务店1",
                      check: true
                    },
                    {
                      label: "公牛",
                      value: '2',
                      check: false,
      
                    },
                    {
                      label: "多乐士",
                      value: '22',
                      check: false
                    },
                    {
                      label: "小米",
                      value: '5',
                      check: false
                    },
                  ]
                },
                {
                  formType: "sectionDesc",
                  value: "",
                  showValue: "",
                  cssStyle: 'width: 100%;height: 1.94rem;background: #FFDB59;justify-content: center;padding: 0;margin-top: 1.75rem;',
                  leftIcon: 'https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1677118139872d3376508adba25ddd13aa7502ca5027f.png',
                  leftIconCssStyle: 'height:1.94rem;width:auto',
                },
      
                {
                  subHtmlObj: [
                    {
                      compare: false,
                      formType: "textInput",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      placeHolder: "请先选择小区位置",
                      disabled: true, //
                      formKey: "name",
                      label: '小区名称',
                      appType: "LJ",
                      rules: [
                        {
                          name: "required",
                          message: "小区名称",
                          value: "false"
                        }
                      ]
                    },
                    {
                      compare: false,
                      formType: "textInput",
                      placeHolder: "请先选择小区位置",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      disabled: true, //
                      formKey: "area",
                      label: '所在区县',
                      appType: "LJ",
                      rules: [
                        {
                          name: "required",
                          message: "所在区县",
                          value: "false"
                        }
                      ]
                    },
                    {
                      compare: false,
                      formType: "showAddress",
                      placeHolder: "请先选择小区位置",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      valueCssStyle: "white-space: break-spaces;", //
                      formKey: "address",
                      label: '详细地址',
                      appType: "LJ",
                      rules: [
                        {
                          name: "required",
                          message: "请选择详细地址",
                          value: "false"
                        }
                      ]
                    },
                    {
                    compare: false,
                    formType: "detailAddress_location",
                    canEqual: false,
                    checkAll: false,
                    expression: true,
                    hidden: false,
                    formKey: "location",
                    appType: "LJ",
                    rules: [
                      {
                        name: "required",
                        message: "请选择详细地址",
                        value: "false"
                      }
                    ]
                  }
                ],
                compare: false,
                formType: "chooseMap",
                canEqual: false,
                checkAll: false,
                expression: true,
                hidden: false,
                formKey: "",
                appType: "",
                label: "深圳", // 城市 页面不展示
                // value: "4403", // 城市code 页面不展示
                valueN: "22.513813,113.935067", // 坐标 页面不展示
                valueCssStyle: "height:19.06rem" // 地图的样式如高度
              },
                 {
                    subHtmlObj: [{
                      compare: false,
                      formType: "detailAddress_location",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      formKey: "location",
                      appType: "LJ",
                      rules: [
                        {
                          name: "required",
                          message: "请选择详细地址",
                          value: "false"
                        }
                      ]
                    }
                  ],
                  compare: false,
                  formType: "detailAddress",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  formKey: "address",
                  appType: "LJ",
                  label: "详细地址",
                  placeHolder: "请设置地址"
                },
                {
                  cssStyle: '',
                  formType: "chooseHours",
                  label: "服务时间",
                  labelCssStyle: '',
                  placeHolder: "请选择",
                  showValue: "",
                  valueCssStyle: "", // 数量样式
                  subHtmlObj: [
                    {
                      formType: "chooseHourItem",
                      formKey: "startH",
                      value: "",
                    },
                    {
                      formType: "chooseHourItem",
                      formKey: "endH",
                      value: "",
                    }
                  ],
                  children: [
                    {
                      label: '06:00', // 06:00 - 20:00
                      value: '06:00',
                      children: [
                        {
                          label: '08:00',
                          value: '08:00',
                          children: []
                        },
                        {
                          label: '09:00',
                          value: '09:00',
                          children: []
                        },
                      ]
                    },
                    {
                      label: '07:00',
                      value: '07:00',
                      children: [
                        {
                          label: '09:00',
                          value: '09:00',
                          children: []
                        },
                        {
                          label: '10:00',
                          value: '10:00',
                          children: []
                        },
                      ]
                    },
                  ]
                }
                ,
                {
                  cssStyle: '',
                  formType: "addItemCountNoInput",
                  label: "小孩位数",
                  labelCssStyle: '',
                  formKey: "xiaohaishu",
                  value: 1,
                  valueCssStyle: "", // 数量样式
                },
                {
                  compare: false,
                  formType: "citySelectOneLine",
                  cssStyle: "",
                  showValueCssStyle: "margin-left:0rem",
                  valueCssStyle: "",
                  endIcon: "../../../assets/icon/release_icon_arrow_right@2x.png",
                  endIconCssStyle: "margin-right: 0.75rem;",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  submit: {
                    isManualBinding: false,
                    doEventFirst: false,
                    isScript: false,
                    id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                    isDisabled: false,
                    key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                  },
                  formKey: "city_id",
                  link: {
                    dataStr: false,
                    isScript: false,
                    isArray: true,
                    isDisabled: false,
                    isMajorPic: false,
                    type: "modal",
                    target: "52329"
                  },
                  label: "城市",
                },
                {
                  formType: "modalOfMoreItems",
                  label: "配送范围",
                  extra: "",
                  placeHolder: "包邮、包送、包安装配送范围",
                  showSearchModal: false,
                  showIndex: 0, // 表示要显示第几个子项的值
                  subHtmlObj: [
                    {
                      formType: "modalOfMoreItems",
                      label: "说明",
                      placeHolder: "可填写配送区域范围",
                      showSearchModal: false,
                      showIndex: 0, // 表示要显示第几个子项的值
                      subHtmlObj: [
      
                        {
                          compare: false,
                          formType: "textArea",
                          hidden: false,
                          formKey: "psdesc",
                          rules: [
      
                          ],
                          label: "说明",
                          maxLength: 11,
                          placeHolder: "可填写配送区域范围"
                        },
      
                      ]
                    },
                    {
                      compare: false,
                      formType: "switchButtonLJ",
                      cssStyle: "padding-left:1rem;",
                      hidden: false,
                      formKey: "xiandingfw",
                      value: '1',
                      labelCssStyle: 'font-weight:normal',
                      itemList: [
                        {
                          label: '不限制区域',
                          value: '0',
                          checked: false
                        },
                        {
                          label: '指定区域',
                          value: '1',
                          checked: true
                        }
                      ],
                      label: "区域范围",
                      subHtmlObj: [
                        {
                          formType: "threeLevelSelection",
                          formKey: "qucode",
                          showCondition: "1",
                          value: '',
                          children: [
                            {
                              label: "北京",
                              value: "1001",
                              children: [{
                                label: "故宫区",
                                value: "100101",
                                children: []
                              },
                              {
                                label: "海淀区",
                                value: "100102",
                                children: []
                              }
      
                              ]
                            },
                            {
                              label: "广东",
                              value: "4403",
                              children: [{
                                label: "罗湖区",
                                value: "440303",
                                children: [
                                  {
                                    label: "蔡屋围",
                                    value: "44030301",
                                    children: null
                                  },
                                  {
                                    label: "国贸",
                                    value: "44030302",
                                    children: null
      
                                  }]
                              },
                              {
                                label: "福田区",
                                value: "440304",
                                children: [
                                  {
                                    label: "上啥",
                                    value: "44030401",
                                    children: null
                                  },
                                  {
                                    label: "下沙",
                                    value: "44030403",
                                    children: null
                                  }]
                              }]
                            },
                            {
                              label: "广西",
                              value: "4503",
                              children: [{
                                label: "南宁",
                                value: "450303",
                                children: [
                                  {
                                    label: "武鸣区",
                                    value: "45030301",
                                    children: null
                                  },
                                  {
                                    label: "中心区",
                                    value: "45030302",
                                    children: null
      
                                  }]
                              }, ]
                            },
                          ],
                        }
                      ]
                    },
                    {
                      formType: "threeLevelSelection",
                      formKey: "qucode",
                      value: '',
                      children: [
                        {
                          label: "北京",
                          value: "1001",
                          children: [{
                            label: "故宫区",
                            value: "100101",
                            children: []
                          },
                            {
                              label: "海淀区",
                              value: "100102",
                              children: []
                            }
      
                          ]
                        },
                        {
                          label: "广东",
                          value: "4403",
                          children: [{
                            label: "罗湖区",
                            value: "440303",
                            children: [
                              {
                                label: "蔡屋围",
                                value: "44030301",
                                children: null
                              },
                              {
                                label: "国贸",
                                value: "44030302",
                                children: null
      
                              }]
                          },
                          {
                            label: "福田区",
                            value: "440304",
                            children: [
                              {
                                label: "上啥",
                                value: "44030401",
                                children: null
                              },
                              {
                                label: "下沙",
                                value: "44030403",
                                children: null
                              }]
                          }]
                        },
                        {
                          label: "广西",
                          value: "4503",
                          children: [{
                            label: "南宁",
                            value: "450303",
                            children: [
                              {
                                label: "武鸣区",
                                value: "45030301",
                                children: null
                              },
                              {
                                label: "中心区",
                                value: "45030302",
                                children: null
      
                              }]
                          },]
                        },
                      ],
                    }
      
                  ]
                },
                {
                  formType: "singleColumnSelect",
                  formKey: "sales_status",
                  labelCssStyle: 'max-width:34%',
                  label: "配送安装<img src='../../../assets/laijian/icon_help_notes@3x.png' style='width: 2rem;height: 1rem;object-fit: contain;margin-bottom: 0.2rem;'> ",
                  placeHolder: "请选择",
                  value: 0,
                  showValue: '包邮包送包安装',
      
                  link: { type: 'page' },
                  // disabled: false,
                  data: [
                    {
                      label: "包邮包送包安装",
                      value: 0
                    },
                    {
                      label: "包邮",
                      value: 1
                    }
      
                  ],
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择状态"
                    }
                  ]
                },
                {
                  formType: "richTextEdit1",
                  formKey: 'richTextEdit',
                  label: "基本信息",
                  labelCssStyle: "font-size: 1rem;font-weight: bold;color: #000000;line-height: 1.38rem;padding:0 1.25rem;",
                  valueCssStyle: "width:100%;height:15rem",
                  showValue: '10',
                },
                {
                  formType: "getCashType",
                  value: '0',
                  extra: "",
                  extraCssStyle: "border-top:unset;",
                  formKey: "retainage",
                  label: "剩余尾款总额(元)",
                  cssStyle: "", //
                  placeHolder: "0.00",
                  tips: "设置说明:<br>尾款可以分多笔收取，请您设置每笔应收比例；一次收取，则填写总额、第1笔设置100%即可；剩余尾款总额不包含定金。",
                  rules: [
                    {
                      name: 'required',
                      value: true,
                      message: "请"
                    }
                  ],
                  subHtmlObj: [
                    {
                      formType: "addPercentItemList",
                      value: '',
                      textType: 'number',
                      tips: "金额:￥",
                      extra: "添加尾款笔数",
                      extraCssStyle: "",
                      formKey: "percent",
                      cssStyle: "", //
                      placeHolder: "请输入",
                      itemList: [
                        {
                          valueN: "",
                          value: "100", //
                          icon: "../../../assets/icon/release_icon_contact@3x.png", // 删除 http
                          iconOn: "../../../assets/icon/release_icon_contact@3x.png", // 新增
                        }
                      ]
                    },
                  ]
                },
                {
                  subHtmlObj: [
                    {
                      compare: true,  // 与minSize配合使用
                      lessTip: "至少3张图片", // 最小数量不满足时提示
                      formType: "photo",
                      showValue: "",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: true,
                      formKey: "picurl",
                      maxSize: 8,
                      minSize: 3,
                      lines: "inset",
                      value: ""
      
                    },
                    {
                      compare: false,
                      formType: "video",
                      showValue: "",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      formKey: "video_url",
                      lines: "inset",
                      value: ""
                    },
                    {
                      compare: false,
                      formType: "video_pic",
                      showValue: "",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      formKey: "video_pic",
                      maxSize: 1,
                      lines: "inset",
                      value: ""
                    }
                  ],
                  compare: false,
                  formType: "photoVideoSelectWidget",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  placeholderCssStyle: '',
                  labelCssStyle: '',
                  placeHolder: "（列表用）",
                  extra: "上传一个", // 视频
                  label: "图片/视频",
                  lines: "inset",
                  tips: "上传视频，提高曝光！"
                },
                {
                  formType: "photoSelectWidget",
                  formKey: 'photos_pdf',
                  textType: 'pdf', // 上传pdf必需
                  maxSize: 8, // 最多设置8张
                  // placeHolder: "添加备注图片(最多8张）",
                  tips: '视频：请通过PC员工后台上传案例视频',
                  value: 'https://zeno-file.oss-cn-shenzhen.aliyuncs.com/file_1667614743184dbc6c039c6db5f9f353ac245362aca52.pdf',
                  formKeys: 'valueLongKey;valueIndexKey', // 长图key;首图key
                  // 首图
                  valueIndex: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_16676147447273c7645e868f45fa238897bb0b04632aa.png",
                  // 长图
                  valueLong: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_16676147454459818f26db32daf3f8e19bc603ce502be.png",
                  background: "padding:0 1rem",
                  labelCssStyle: "margin-bottom:-0.75rem",
                  showValue: "<span style='font-size: 1rem;font-weight: bold;color: #252629;line-height: 1.31rem;'>上传凭证<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span><span style='font-size: 0.75rem;'>限8张</span></span>", // 当标题用
                  delete: true, // 显示del
                  cssStyle: "background: white;height: 6.75rem;width: 6.25rem;display: flex;align-items: center;", // 图片外框样式
                  valueCssStyle: 'height: 6.25rem;width: 6.25rem;background: #F5F5F7;border-radius: 0.13rem;display: flex;justify-content: center;align-items: center;', // 图片样式
                  // disabled: true,
                  leftIconCssStyle: "width:1.8rem;height:1.8rem;",
                  // leftIcon: '../../../assets/icon/choose-img.png', // + 图片配置
                  hasBorder: false, // 新样式无图片时候居中
                  extra: '上传发票',
                  rules: [{
                    name: 'required',
                    value: true,
                    message: "请选择图片"
                  }]
                },
                {
                  compare: false,
                  formType: "changePublish",
                  hidden: false,
                  extra: "找工人",
                  cssStyle: "",
                  extraCssStyle: "xxx",
                  labelCssStyle: "",
                  leftIconCssStyle: "",
                  label: "指想找人施工，请点击这里",
                  rules: [],
                  link: {
      
                    params: {
                      aa: "1101",
                      closeModal: "true" // 必需有才能先关闭当前弹窗
                    },
                    type: "modal",
                    target: "158743"
                  },
                },
                {
                  compare: false,
                  formType: "textInput",
                  hidden: false,
                  extra: "",
                  label: "品牌",
                  formKey: "banner",
                  placeHolder: "请填写",
                  rules: [],
                  showSureBtn: true,
                  showLabel: true,
                  subHtmlObj: [
                    {
                      extra: "平台选择",
                      extraCssStyle: "height: 1.75rem;background: #FFFFFF;border-radius: 0.88rem;border: 0.03rem solid #B3B3B3;padding:0 0.5rem;ont-size: 0.75rem;color: #222222;",
                      label: "",
                      tips: '', // 不与extra 同时使用
                      endIcon: 'http', //
                      endIconCssStyle: "width:0.33rem;height:0.59rem;margin-left:0.25rem",
                      showSearchModal: true, // 搜索栏
                      formType: "switchButtonFW_3",
                      formKey: "banner",
                      itemListCssStyle: "width: auto;height: 2rem;background: #F5F5F5;border-radius: 1rem;border: 0.03rem solid #F5F5F5;padding:0 0.75rem", // 没有选中时
                      itemListCheckedCssStyle: "width: auto;height: 2rem;background: #FFFAE6;border-radius: 1rem;border: 0.03rem solid #FFD82B;padding:0 0.75rem", // 有选中时
      
                      value: '',
                      valueCssStyle: "font-size: 0.75rem;color: #222222;", // 选中 字
                      placeholderCssStyle: "font-size: 0.75rem;color: #666666;", // 没有选中 字
                      valueNCssStyle: "font-size: 0.81rem;font-weight: bold;color: #4D1F20;", // 新增上行文字选中 字
                      placeholderNCssStyle: "font-size: 0.81rem;font-weight: bold;color: #48300C;", // 新增上行文字 没有选中 字
                      multiSelect: false,
                      showValue: '',
                      maxSize: 2,
                      itemList: [
      
                        {
                          label: "TCL",
                          value: '1',
                          check: true
                        },
                        {
                          label: "公牛",
                          value: '2',
                          check: false,
      
                        },
                        {
                          label: "多乐士",
                          value: '3',
                          check: false
                        },
                        {
                          label: "小米",
                          value: '5',
                          check: false
                        },
                      ]
                    }, ]
                },
                {
                  compare: false,
                  formType: "textInput",
                  hidden: false,
                  extra: "",
                  label: "报备建材",
                  formKey: "rjc",
                  placeHolder: "请填写",
                  rules: [],
                  // showSureBtn: true,
                  subHtmlObj: [{
                    compare: false,
                    formType: "singleSelect3",
                    hidden: false,
                    formKey: "rjc",
                    rules: [
      
                    ],
                    label: "",
                    extra: "平台选择",
                    extraCssStyle: "height: 1.75rem;background: #FFFFFF;border-radius: 0.88rem;border: 0.03rem solid #B3B3B3;padding:0 0.5rem;ont-size: 0.75rem;color: #222222;",
                    endIcon: 'http', //
                    endIconCssStyle: "width:0.33rem;height:0.59rem;margin-left:0.25rem",
                    children: [
                      {
                        label: "水电",
                        value: "11",
                        children: [
                          {
                            label: "水电材料",
                            value: "1101",
                            children: [
                              {
                                label: "电线、电缆",
                                value: "1101001",
                                children: null
                              },
                              {
                                label: "电气控制",
                                value: "1101002",
                                children: null
                              }]
                          },
                          {
                            label: "水电材料2",
                            value: "1102",
                            children: [
                              {
                                label: "2电线、电缆",
                                value: "1102001",
                                children: null
                              },
                              {
                                label: "2电气控制",
                                value: "1102002",
                                children: null
                              }]
                          },
      
      
                        ]
      
                      },
                      {
                        label: "地面",
                        value: "12",
                        children: [
                          {
                            label: "地面材料",
                            value: "1201",
      
                            children: null
                          }, {
                            label: "瓷砖",
                            value: "1201001",
                            children: null
                          },
                          {
                            label: "木地板",
                            value: "1201002",
                            children: null
                          }
                        ]
                      }
                    ]
                  }, ]
                },
      
                {
                  formType: "photoSelectWidget",
                  formKey: 'photos_contract',
                  textType: 'textInput', // 图片增加名称填写时 必需
                  maxSize: 8, // 最多设置8张
                  placeHolder: "添加备注图片(最多8张）",
                  tips: '视频：请通过PC员工后台上传案例视频',
                  value: 'htt',
                  background: "padding:0 1rem",
                  labelCssStyle: "margin-bottom:-0.75rem",
                  showValue: "<span style='font-size: 1rem;font-weight: bold;color: #252629;line-height: 1.31rem;'>上传凭证<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span><span style='font-size: 0.75rem;'>限8张</span></span>", // 当标题用
                  delete: true, // 显示del
                  cssStyle: "background: white;height: 6.75rem;width: 6.25rem;display: flex;align-items: center;", // 图片外框样式
                  valueCssStyle: 'height: 6.25rem;width: 6.25rem;background: #F5F5F7;border-radius: 0.13rem;display: flex;justify-content: center;align-items: center;', // 图片样式
                  // disabled: true,
                  leftIconCssStyle: "width:1.8rem;height:1.8rem;",
                  // leftIcon: '../../../assets/icon/choose-img.png', // + 图片配置
                  hasBorder: false, // 新样式无图片时候居中  true
                  extra: '上传图片',
                  rules: [{
                    name: 'required',
                    value: true,
                    message: "请选择图片"
                  }]
                },
                {
                  formType: "multipleSelect3",
                  label: "主营建材5-1",
                  formKey: "skill",
                  showCheckAll: true,
                  endIcon: 'http',
                  leftIcon: 'http',
                  tipsBgCssStyle: "align-items:baseline",
                  maxSize: 5,
                  tips: '选择的分类的相关商品都将会上架到店铺',
                  link: {
                    type: 'modalPage ',
      
                  }, // ？
                  value: '',
                  children: [
                    {
                      label: "水电",
                      value: "11",
                      maxSize: 1 , // 控制该类别下 二级单选；  默认：0 多选
                      children: [
                        {
                          label: "水电材料",
                          value: "1101",
                          children: [
                            {
                              label: "电线、电缆",
                              value: "1101001",
                              children: null
                            },
                            {
                              label: "电气控制",
                              value: "1101002",
                              children: null
                            }]
                        },
                        {
                          label: "水电材料2",
                          value: "1102",
                          children: [
                            {
                              label: "2电线、电缆",
                              value: "1102001",
                              children: null
                            },
                            {
                              label: "2电气控制",
                              value: "1102002",
                              children: null
                            }]
                        },
                        {
                          label: "水电材料3",
                          value: "1103",
                          children: []
                        }
                        ,
                        {
                          label: "水电材料4",
                          value: "1104",
                          children: []
                        }
                      ]
      
                    },
                    {
                      label: "地面",
                      value: "12",
                      children: [
                        {
                          label: "地面材料",
                          value: "1201",
                          children: [
                            {
                              label: "瓷砖",
                              value: "1201001",
                              children: null
                            },
                            {
                              label: "木地板",
                              value: "1201002",
                              children: null
                            }]
                        }]
                    },
                    {
                      label: "测试仅2级",
                      value: "13",
                      children: [
                        {
                          label: "测试2级1",
                          value: "1301",
                          children: [
                          ]
                        },
                        {
                          label: "测试2级2",
                          value: "1302",
                          children: [
                          ]
                        },
                        {
                          label: "测试2级3",
                          value: "1303",
                          children: [
                          ]
                        }
                      ]
                    }
                  ]
                  ,
                },
                {
                  formType: "moreDetailInfo",
                  hidden: false, // true 为隐藏 false 为默认展开
                  tips: "",
                  leftIcon: 'xxx', // 隐藏时icon
                  endIcon: " xxx", // 配置 展开时 icon
                  leftIconCssStyle: 'width:1.5rem;height:1.5rem',
                  endIconCssStyle: 'width:1.5rem;height:1.5rem',
                  cssStyle: 'height:2.5rem;background: #FFFFFF;border-radius: 0 0 0.75rem 0.75rem;text-align:center;display:flex;align-items:center;justify-content:center;',
                  subHtmlObj: [
                    {
                      compare: false,
                      formType: "textInput",
                      hidden: false,
                      extra: "平方",
                      label: "面积",
                      formKey: "company_name21",
                      rules: []
                    }]
                },
                {
                  formType: "pickerSelectBtn",
                  formKey: "district_design",
                  showValue: "generalSubmit", // 表单内部 提交Submit showValue = "generalSubmit" 表示通用提交，
                  submit: {
                    id: "",
                    content: {
      
                    },
                    formKey: "isJsonArray"
                  },
      
                  placeHolder: "请选择",
                  label: "选择其他地址",
                  value: "", // , 拼接id
                  cssStyle: 'height: 2.75rem;background: linear-gradient(135deg, #FFDE3B 0%, #FFC933 100%);border-radius: 3rem;margin: 0.75rem 1rem;text-align: center;',
                  data: [
                    {
                      label: "广东",
                      value: "440303",
                      children: [{
                        label: "罗湖区",
                        value: "440303",
                        children: [
                          {
                            label: "蔡屋围",
                            value: "44030301",
                            children: null
                          },
                          {
                            label: "国贸",
                            value: "44030302",
                            children: null
      
                          }]
                      },
                      {
                        label: "福田区",
                        value: "440304",
                        children: [
                          {
                            label: "上啥",
                            value: "44030401",
                            children: null
                          },
                          {
                            label: "下沙",
                            value: "44030403",
                            children: null
                          }]
                      }]
                    },
                    {
                      label: "广西",
                      value: "450301",
                      children: []
                    },
                  ],
      
                  rules: [
                  ]
                },
                {
                  formType: "bottomModalOfMoreItemsFW",
                  tips: "换货原因<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
                  label: "换货原因",
                  showLabel: true,
                  placeHolder: "请选择",
                  showSearchModal: false,
                  hasAddNew: false, // 默认 true， 表示可以新增
                  showIndex: 0, // 表示要显示第几个子项的值
                  modalCssStyle: "bottom", // 底部弹窗
                  showSureBtn: true,
                  // leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
                  endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
                  // leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
                  endIcon: 'XXX',
                  cssStyle: "font-size: 0.88rem;font-weight:bold;height: 2.5rem;align-items: center;display: flex;padding: 0.75rem;margin: 0 0.5rem;border: none;box-shadow: none;justify-content: space-between;background: #f7f8fa;border-radius: 0.5rem 0.5rem 0 0;",
                  valueCssStyle: "font-size: 0.88rem;color: #0F0F0F;line-height: 1.13rem;position: relative;z-index: 2;display: flex;flex-direction: column;flex-grow:1;text-align:right",
                  placeholderCssStyle: "font-size: 0.88rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1;text-align:right;",
      
      
                  subHtmlObj: [
                    {
                      formType: "showSingleSelect",
                      formKey: "inform",
                      label: "标准标价",
                      labelCssStyle: "font-size: 1rem;font-weight: bold;color: #252629;",
                      value: "",
                      unit: "￥", // 单位
                      itemListCheckedCssStyle: "height: 3rem;border-radius: 0.5rem;border: 0.06rem solid rgb(255, 216, 43);padding-left: 0.75rem;display: flex;padding-right: 0.75rem;background: #FFF9E6;", // 有选中时
                      placeholderCssStyle: "height: 3rem;border-radius: 0.5rem;border: 0.03rem solid #E0E0E0;padding-left: 0.75rem;display: flex;padding-right: 0.75rem;background: #FAFAFA;",
                      valueCssStyle: "display: flex;align-items: center;justify-content: space-between;",
                      valueNCssStyle: "display: flex;justify-content: flex-end;flex-grow: 1;align-items: baseline;font-size: 1.13rem;font-weight: bold;color: #FF3D2B;line-height: 3rem;",
                      showValueCssStyle: "font-size: 0.88rem;color: #222222;margin-left:-0.5rem",
                      itemList: [
                        {
                          label: "按月30天服务",
                          value: "1",
                          valueN: '1780',
                          check: false,
      
                        },
                        {
                          label: "按月180天服务",
                          value: "2",
                          check: false,
                          valueN: '2680',
                        },
                      ],
                      rules: [
                      ],
                    },
                    {
                      formType: "showSingleSelect",
                      formKey: "inform",
                      label: "退货原因",
                      minSize: "1",
                      lessTips: '最少选2个',
                      value: "",
                      placeholderCssStyle: "height: 4.69rem;border-radius: 0.75rem;border: 0.06rem solid rgb(255, 216, 43);padding-left: 1rem;display: flex;flex-direction: column;justify-content: center",
                      valueCssStyle: "display: flex;align-items: center;justify-content: space-between;flex-direction: row-reverse;",
                      valueNCssStyle: "font-size: 0.75rem;font-weight: 400;color: #999999;line-height: 1.06rem;margin-top:0.38rem",
                      showValueCssStyle: "font-size: 1rem;font-weight: bold;color: #222222;line-height: 1.38rem;",
                      itemList: [
                        {
                          label: "增值税电子普通发票",
                          value: "增值税电子普通发票",
                          valueN: '电子发票与纸质发票具有同等法律效力，可支持报销入账',
                          check: false,
      
                        },
                        {
                          label: "质量问题",
                          value: "7天无理由",
                          check: false
                        },
                      ],
                      rules: [
                      ],
                    },
                  ]
                },
                {
                  formType: "sectionDesc",
                  label: "发票金额",
                  showValue: "94.712",
                  cssStyle: 'font-size: 0.88rem;line-height: 1.25rem;border-radius: 0 0 0.5rem 0.5rem;padding: 0.75rem;margin: 0.5rem; margin-top: 0;color: #222222;margin-top:0;font-weight:bold;justify-content:normal',
                  labelCssStyle: 'width:auto;',
                  valueCssStyle: 'font-size:1rem;font-weight: bold;color: #FF3A33;display:block;text-align:right;flex:1', // 金额样式
                  extra: '￥',
                  leftIcon: 'http',
                  link: {
      
                    params: {
                      aa: "1101"
                    },
                    type: "modal",
                    target: "158743"
                  },
                },
                {
                  formType: "sectionDesc",
                  label: "退款金额<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
                  showValue: "94.712",
                  cssStyle: 'font-size: 0.88rem;line-height: 1.25rem;border-radius: 0 0 0.5rem 0.5rem;padding: 0.75rem;margin: 0.5rem; margin-top: 0;color: #222222;margin-top:0;font-weight:bold;',
                  valueCssStyle: 'font-size:1rem;font-weight: bold;color: #FF3A33;display:block;text-align:right;', // 金额样式
                  extra: '￥'
                },
      
                {
                  formType: "sectionDesc",
                  label: "退货方式<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
                  placeHolder: "自行寄回",
                  cssStyle: 'font-size: 1rem;line-height: 1.31rem;border-radius:0.5rem 0.5rem 0 0;padding: 0.75rem;margin: 0.5rem;color: #222222;margin-bottom:0;font-weight:bold;',
                  valueCssStyle: 'font-size:0.88rem;color: #999999;display:block;text-align:right;', // 自行寄回 样式
      
                },
                {
                  formType: "sectionDesc",
                  label: "仅限更换同款相同价格商品，如需申请换货联系商家处理，具体查看",
                  cssStyle: 'font-size: 0.75rem;border-radius: 0 0 0.5rem 0.5rem;padding: 0.75rem;margin: 0.5rem;color: #FE950D;margin-top:0;padding-top:0',
                  labelCssStyle: "width:100%",
                },
                {
                  formType: "sectionDesc",
                  label: "仅限更换同款相同价格商品，如需申请换货联系商家处理，具体查看<span style='color:blue'>规则内容</span>",
                  labelCssStyle: "width:100%",
                  cssStyle: "font-size: 0.81rem;color: #808080;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1.5rem;padding-top:0;background: #FFFFFF;",
                  link: {
      
                    params: {
                      aa: "1101"
                    },
                    type: "modal",
                    target: "158743"
                  },
      
                },
                {
                  formType: "bottomModalOfMoreItemsFW",
                  label: "服务时间",
                  showLabel: true,
                  placeHolder: "请选择",
                  showSearchModal: false,
                  hasAddNew: false, // 默认 true， 表示可以新增
                  showIndex: 0, // 表示要显示第几个子项的值
                  modalCssStyle: "bottom", // 底部弹窗
      
                  leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
                  endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
                  leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
                  endIcon: 'XXX',
                  cssStyle: "padding:0.75rem;height: 2.5rem;align-items: center;display: flex;",
                  valueCssStyle: "font-size: 0.88rem;color: #0F0F0F;line-height: 1.13rem;position: relative;z-index: 2;display: flex;flex-direction: column;flex-grow:1",
                  placeholderCssStyle: "font-size: 0.88rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1",
      
      
                  subHtmlObj: [
                    {
                      compare: false,
                      formType: "textInputLJ",
                      hidden: false,
                      extra: "平方",
                      formKey: "company_name2",
                      rules: [
                        {
                          name: "pattern",
                          message: "请填写正确的面积",
                          value: ".{0,50}"
                        },
                        {
                          name: "required",
                          message: "请填面积",
                          value: "true"
                        }
                      ],
                      labelCssStyle: 'font-size:0.88rem;font-weight: normal',
                      valueCssStyle: 'font-size:1.13rem;font-weight: normal',
                      label: "面积",
                      // extra: "平米",
                      maxLength: 3,
                      placeHolder: "请填写"
                    },
                    {
                      formType: "sectionDesc",
                      label: "温馨提示：<br>1.纯毛、纯棉、黄麻、真丝材料的地毯暂时无法提供服务，还请您给予谅解(可服务地毯的绒毛长度为2-5cm)<br>2.地毯面积不足4平米时，按照4平米收取费用",
                      labelCssStyle: "width:100%",
                      cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1.5rem;padding-top:0;background: #FFFFFF;"
      
                    },
                  ]
                },
                {
                  tips: '选择一个专卖品牌；该可销售该品牌所有商品',
                  endIcon: 'http', // 关闭提示
                  showSearchModal: true, // 搜索栏
                  formType: "switchButtonFW_3",
                  formKey: "brand",
                  itemListCssStyle: "padding:0 0.75rem;height: 6.25rem;background: #FFFFFF;border-radius: 0.75rem;border: 0.13rem solid #EDEDED;", // 没有选中时
                  itemListCheckedCssStyle: "padding:0 0.75rem;height: 6.25rem;background: #FFFAE6;border-radius: 0.75rem;border: 0.13rem solid #FFD82B;", // 有选中时
                  itemListIconCssStyle: "", // 图片样式
                  label: "",
                  value: '1',
                  valueCssStyle: "line-height:1rem;font-size:0.69rem;color:#999999;", // 选中 字
                  placeholderCssStyle: "line-height:1rem;font-size:0.69rem;color:#999999;", // 没有选中 字
                  valueNCssStyle: "margin-top:0.13rem;font-size:0.88rem;font-weight:bold;color: #222222;line-height:1.25rem;", // 新增上行文字选中 字
                  placeholderNCssStyle: "margin-top:0.13rem;font-size:0.88rem;font-weight:bold;color: #222222;line-height: 1.25rem;", // 新增上行文字 没有选中 字
                  multiSelect: false,
                  showValue: '',
                  maxSize: 2,
                  itemList: [
      
                    {
                      label: "店铺转让、出租",
                      value: '1',
                      icon: "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_16676147447273c7645e868f45fa238897bb0b04632aa.png", // 用彩色图片 不选中自动处理灰度
                      valueN: "商品服务店1",
                      check: true
                    },
                    {
                      label: "公牛",
                      value: '2',
                      check: false,
      
                    },
                    {
                      label: "多乐士",
                      value: '3',
                      check: false
                    },
                    {
                      label: "小米",
                      value: '5',
                      check: false
                    },
                  ]
                },
                {
                  formType: "singleSelect3-4",
                  label: "品牌",
                  formKey: "skill",
                  tips: '选择一个专业商品类型或品牌；一个店铺限销售一个类型或者品牌的商品选择一个专业商品类型或品牌；一个店铺限销售一个类型或者品牌的商品',
                  value: '',
                  endIcon: 'http',
                  leftIcon: 'http',
                  tipsBgCssStyle: "align-items:baseline",
                  children: [
                    {
                      label: "家电",
                      value: "11",
                      minLevel: false,
                      children: [
                        {
                          label: "视听影音",
                          value: "1101",
                          minLevel: false,
                          children: [
                            {
                              label: "家庭影院",
                              value: "1101001",
                              minLevel: false,
                              children: [
                                {
                                  label: "TCL",
                                  value: "1101001001",
                                  children: null,
                                  minLevel: true,
                                },
                                {
                                  label: "LG",
                                  value: "1101001002",
                                  children: null,
                                  minLevel: true,
                                }
                              ]
                            },
                            {
                              label: "KTV音响",
                              value: "1101002",
                              minLevel: true,
                              children: null
                            }]
                        },
                        {
                          label: "空调",
                          value: "1102",
                          minLevel: false,
                          children: [
                            {
                              label: "空调挂机",
                              value: "1102001",
                              minLevel: false,
                              children: [
                                {
                                  label: "TCL",
                                  value: "1102001001",
                                  minLevel: true,
                                  children: null
                                }
                              ]
                            },
                          ]
                        },
                      ]
      
                    },
                    {
                      label: "地面",
                      value: "12",
                      minLevel: false,
                      children: [
                        {
                          label: "地面材料",
                          value: "1201",
                          minLevel: false,
                          children: [
                            {
                              label: "瓷砖",
                              value: "1201001",
                              children: null,
                              minLevel: true,
                            },
                            {
                              label: "木地板",
                              value: "1201002",
                              children: null,
                              minLevel: true,
                            }, {
                              label: "瓷砖",
                              value: "1201001",
                              children: null,
                              minLevel: true,
                            },
                            {
                              label: "木地板",
                              value: "1201002",
                              children: null,
                              minLevel: true,
                            }, {
                              label: "瓷砖",
                              value: "1201001",
                              children: null,
                              minLevel: true,
                            },
                            {
                              label: "木地板",
                              value: "1201002",
                              children: null,
                              minLevel: true,
                            }]
                        }]
                    },
                    {
                      label: "测试仅2级",
                      value: "13",
                      minLevel: false,
                      children: [
                        {
                          label: "测试2级1",
                          value: "1301",
                          minLevel: true,
                          children: [
                          ]
                        },
                        {
                          label: "测试2级2",
                          value: "1302",
                          minLevel: true,
                          children: [
                          ]
                        },
                        {
                          label: "测试2级3",
                          value: "1303",
                          minLevel: true,
                          children: [
                          ]
                        }
                      ]
                    }
                  ]
                  ,
                },
                {
                  label: "优惠价格",
                  eventName: 'sendPrice',
                  showValue: "",
                  formType: "textInput",
                  textType: 'number'
                },
                {
                  // textInput中配 eventName="sendPrice" 表示 设置精选 价格profit 中配   eventName="receiverPrice"接收精选价格
                  formType: "profit",
                  eventName: "receiverPrice",
                  showValue: '1200', // 建议零售价
                  unit: '元',
                  tips: '优惠：元，利润: 元',
                  value: '1000',  // 成本价
                  label: "优惠：",
                  extra: "利润：",
                  cssStyle: "", //
                },
                {
                  formType: "updateRules",
                  value: '',
                  formKey: "read11",
                  label: "更新规则",
                  cssStyle: "", //
                },
                {
                  formType: "multipleSelectLJ", // 直接表单内展示
                  // showValue: "generalSubmit", // 表单内部 提交Submit showValue == "generalSubmit" 表示通用提交，
                  // 必需有 submit demo 数据注释submit
                  // submit: {
                  //   id: "",
                  //   content: {
      
                  //   },
                  //   formKey: "isJsonArray"
                  // },
                  formKey: "industry_m_s",
                  valueCssStyle: "height:100%",
                  cssStyle: "height:calc(100vh - 7.5rem - env(safe-area-inset-bottom) - env(safe-area-inset-top))",
                  labelCssStyle: '',
                  value: "", // , 拼接id
                  maxSize: 1, // 大行业只能选一个
                  data: [{
                    label: "餐饮美食",
                    value: "11",
                    children: [
                      {
                        label: "全餐饮美食",
                        value: "11",
                        children: null
                      },
                      {
                        label: "餐饮美食01",
                        value: "1101",
                        children: null
                      },
                      {
                        label: "餐饮美食02",
                        value: "1102",
                        children: null
                      }]
                  },
                  {
                    label: "餐饮美食1",
                    value: "12",
                    children: [
                      {
                        label: "全餐饮美食1",
                        value: "12",
                        children: null
                      }, {
                        label: "餐饮美食2",
                        value: "1202",
                        children: null
                      }]
                  }],
      
                  rules: [
                  ],
                },
                {
                  subHtmlObj: [
                    {
                      formType: "textInput",
                      textType: "number",
                      extra: "(人)",
                      rules: [
                        {
                          name: "required",
                          message: "请填写人数",
                          value: "false"
                        }
                      ],
                      label: "人数",
                      maxLength: "10",
                      placeHolder: "选填"
                    },
      
                    {
                      formType: "textInput",
                      textType: "text",
                      rules: [
                        {
                          name: "required",
                          message: "请填写时长",
                          value: "false"
                        }
                      ],
                      label: "时长",
                      extra: "(小时)",
                      maxLength: "2",
                      placeHolder: "时长"
                    }
                  ],
                  formType: "serviceSpecification",
                  formKey: "serviceSpecification",
                  label: "服务规格",
                  extra: "一居室（左label）",
                  cssStyle: "padding-bottom:0",
                  showLabel: true, // true 用于第一行规格 后面行的规格不用显示label
                  value: ""
                },
                {
                  subHtmlObj: [
                    {
                      formType: "textInput",
                      textType: "number",
                      extra: "(人)",
                      rules: [
                        {
                          name: "required",
                          message: "请填写人数",
                          value: "false"
                        }
                      ],
                      label: "人数",
                      maxLength: "10",
                      placeHolder: "选填"
                    },
      
                    {
                      formType: "textInput",
                      textType: "text",
                      rules: [
                        {
                          name: "required",
                          message: "请填写时长",
                          value: "false"
                        }
                      ],
                      label: "时长",
                      extra: "(小时)",
                      maxLength: "2",
                      placeHolder: "时长"
                    }
                  ],
                  formType: "serviceSpecification",
                  formKey: "serviceSpecification1",
                  label: "服务规格",
                  extra: "一居室（左label）",
                  cssStyle: "padding-top:0",
                  showLabel: false, // true 用于第一行规格 后面行的规格不用显示label
                  value: ""
                },
                {
                  formType: "pickerSelectSepTwo",
                  formKey: "district_join",
                  labelCssStyle: 'color: #401406',
                  valueCssStyle: 'color: #401406',
                  valueNCssStyle: 'color: #401406', // 左边label
                  cssStyle: 'background: #E6755C',
                  sepCssStyle: 'background: #A12B12',
      
                  placeHolder: "请选择",
                  label: "广告选择pickerSelectSepTwo",
      
                  value: "",
                  extra: "左边label",
                  data: [
                    {
                      label: "广东",
                      value: "440303",
                      children: [{
                        label: "罗湖区",
                        value: "440303",
                        children: [
                          {
                            label: "蔡屋围",
                            value: "44030301",
                            children: null
                          },
                          {
                            label: "国贸",
                            value: "44030302",
                            children: null
      
                          }]
                      },
                      {
                        label: "福田区",
                        value: "440304",
                        children: [
                          {
                            label: "上啥",
                            value: "44030401",
                            children: null
                          },
                          {
                            label: "下沙",
                            value: "44030403",
                            children: null
                          }]
                      }]
                    },
                    {
                      label: "广西",
                      value: "450301",
                      children: []
                    },
                  ],
      
                  rules: [
                  ]
                },
                {
                  formType: "sectionDesc",
                  label: "问题描述",
                  labelCssStyle: "",
                  cssStyle: "font-size: 0.94rem;font-weight: bold;color: rgb(51, 51, 51);line-height: 1.31rem;padding-left: 0.75rem;background: white;border-radius: 0.75rem 0.75rem 0px 0px;margin: 0 0.75rem;​"
                },
                {
                  showValueCssStyle: "background: white;width: auto;margin: 0 0.75rem;",
                  cssStyle: "--padding-satrt: 0.75rem;",
                  label: "",
                  defValue: "要设置的默认内容",
                  defValueCssStyle: "", // 设置默认btn 的样式
                  formType: "textArea",
                  formKey: "mark2",
                  maxLength: 260, // 必须 显示字数统计
                  value: '',
                  hasBorder: true,
                  placeHolder: "请填写面谈备注11",
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请填写面谈备注",
                    }
                  ]
      
                },
                {
                  showValueCssStyle: "background: white;width: auto;background: white;margin: 0 0.75rem 0.5rem 0.75rem;border-radius: 0 0 0.75rem 0.75rem;padding-bottom:1.25rem;width: auto;",
                  formType: "photoSelectWidget",
                  formKey: 'photos',
                  maxSize: 8, // 最多设置8张
                  placeHolder: "添加备注图片(最多8张）",
                  tips: '',
                  value: '',
                  rules: [{
                    name: 'required',
                    value: true,
                    message: "请选择图片"
                  }]
                },
                {
                  formType: "bottomModalOfMoreItemsFW",
                  label: "上门时间", // 弹窗title用
                  tips: "上门时间——左边", // 占左边位置 == label
                  showLabel: true,
                  placeHolder: "选择上门时间",
                  showSearchModal: false,
                  hasAddNew: false, // 默认 true， 表示可以新增
                  showIndex: 0, // 表示要显示第几个子项的值
                  modalCssStyle: "bottom", // 底部弹窗
      
                  leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
                  endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
                  leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
                  endIcon: 'XXX',
      
                  labelCssStyle: "margin-left:0.5rem",
                  cssStyle: "padding:0.75rem;min-height: 3.31rem;background: #FFFFFF;border-radius: 0.75rem;align-items: center;display: flex;margin:0 0.75rem", valueCssStyle: "font-size: 0.88rem;color: #FF9400;line-height: 1.13rem;position: relative;z-index: 2;display: flex;text-align: right;flex-direction: column;flex-grow:1",
                  placeholderCssStyle: "font-size: 0.88rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1;text-align: right; ",
      
                  subHtmlObj: [
                    {
                      formType: "sectionDesc",
                      label: "预约上门时间<br>商家同意退货后将按时上门，若商家未及时同意，快递员上门前会与您确认时间",
                      labelCssStyle: "width:100%",
                      cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1.5rem;padding-top:0;background: #FFFFFF;"
      
                    },
                    {
                      formType: "chooseTimeRange",
                      formKey: "chooseTime1",
                      itemListCssStyle: "", // 没有选中时的框
                      itemListCheckedCssStyle: "", // 有选中时的框
                      label: "",
                      value: '', // 2022-05-05 08:00-09:00
                      valueCssStyle: "", // 选中 字
                      placeholderCssStyle: ";", // 没有选中 字
                      multiSelect: true,
                      maxSize: 30, // 天数范围
                      minSize: 1, // 当天从0 开始 默认 0
                      min: 1, // 从当前时间开始往后多个小时开始显示为有效时间
                      extra: "1", // 0 不显示 "上午 下午 晚上"
                      showValue: '',
                      daysList: [ // 本地控制
                        //   {
                        //   label: "5月5日(今天)",
                        //   value: '2022-05-05',
                        //   check: true
                        // },
                        // {
                        //   label: "5月6日(明天)",
                        //   value: '2022-05-06',
                        //   check: false,
                        // }
                      ],
                      itemList: [  // 本地控制 时间
                        //   {
                        //     label: "8:00-9:00",
                        //     value: '08:00-09:00',
                        //     check: true
                        //   },
                        //   {
                        //     label: "8:00-9:00",
                        //     value: '08:00-09:00',
                        //     check: false
                        //   },
                      ]
                    }
                    , {
                      formType: "addItemCountList",
                      label: "",
                      formKey: "wxbxlist",
                      tips: '',
                      value: "",
                      showValue: '',
                      extra: "",
                      unit: "台/个/套", // 单位
                      showValueCssStyle: "",
                      valueCssStyle: "",
                      icon: 'http://icon', //
                      itemList: [
      
                        {
                          icon: "http",
                          unit: "105", // 单价 备用
                          valueN: "1000", // 规格编号
                          label: "窗帘（宽大于3米）", // labelCssStyle
                          tagLabel: "￥105/套", //  valueCssStyle
                          value: '0', // 数量
                          minValue: '0', // 最小数量 默认1
      
                        }, {
                          icon: "http",
                          unit: "115", // 单价 备用
                          valueN: "1001", // 规格编号
                          label: "窗帘（宽大于5米）", // labelCssStyle
                          tagLabel: "￥115/套", //  valueCssStyle
                          value: '0', // 数量
      
                        }, {
                          icon: "http",
                          unit: "118", // 单价 备用
                          valueN: "1002", // 规格编号
                          label: "窗帘（宽大于8米）", // labelCssStyle
                          tagLabel: "￥118/套", //  valueCssStyle
                          value: '0', // 数量
      
                        }, ]
                    },
                    {
                      formType: "chooseTime",
                      formKey: "chooseTime",
                      itemListCssStyle: "", // 没有选中时的框
                      itemListCheckedCssStyle: "", // 有选中时的框
                      label: "",
                      value: '', // 2022-05-05 08:00
                      valueCssStyle: "", // 选中 字
                      placeholderCssStyle: ";", // 没有选中 字
                      multiSelect: true,
                      maxSize: 30, // 天数范围
                      min: 1, // 从当前时间开始往后多个小时开始显示为有效时间
                      showValue: '',
                      unit: 0, // 22 2-6
                      daysList: [ // 本地控制
                        // {
                        // label: "5月5日(今天)",
                        // value: '2022-05-05',
                        // check: true
                        // },
                        // {
                        //   label: "5月6日(明天)",
                        //   value: '2022-05-06',
                        //   check: false,
                        // },
                        // {
                        //   label: "5月7日(周x)",
                        //   value: '2022-05-07',
                        //   check: false,
                        // },
      
                        // },
                      ],
                      itemList: [  // 本地控制 时间
                        // {
                        //   label: "8:00",
                        //   value: '08:00',
                        //   check: true
                        // },
                        // {
                        //   label: "8:30",
                        //   value: '08:30',
                        //   check: false,
      
                        // },
                        // {
                        //   label: "9:00",
                        //   value: '09:00',
                        //   check: false,
      
                      ]
                    },
      
                  ]
                },
                {
                  formType: "addItemCount",
                  label: "冰箱维修",
                  formKey: "wxbx",
                  tips: '',
                  value: 1,
                  showValue: '50',
                  extra: "￥",
                  showValueCssStyle: "",
                  valueCssStyle: "",
                  icon: 'http://icon' //
                },
                {
                  formType: "addItemCount",
                  label: "冰箱维修-只有文字",
                  formKey: "wxbx1",
                  tips: '',
                  value: 1,
                  showValue: '',
                  extra: "",
                  showValueCssStyle: "",
                  valueCssStyle: "",
                  icon: '' //
                },
                {
                  cssStyle: 'background: white;',
                  formType: "addItemCount",
                  label: "换货数量<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span><span style='font-size: 0.75rem;color: #666666;'>(最多可申请3个)</span>",
                  labelCssStyle: 'font-size: 1rem;',
                  formKey: "hhsl",
                  tips: '',
                  value: 1,
                  showValue: '',
                  extra: "",
                  showValueCssStyle: "",
                  valueCssStyle: "height:1.5rem;background:white;border-left:0.03rem solid #B3B3B3;border-right:0.03rem solid #B3B3B3;border-radius:0;", // 数量样式
                  endIconCssStyle: "border-radius:0.5rem;height:1.56rem;border:0.03rem solid #B3B3B3;padding:0 0.56rem;", // 数量框样式
                  icon: '', //
                },
                {
                  formType: "itemDetail",
                  label: "日常维修-link",
                  formKey: "",
                  value: "详情",
                  labelCssStyle: "",
                  valueCssStyle: "",
                  icon: 'http://icon', //
                  endIcon: "../../../assets/icon/release_icon_arrow_right@2x.png", // 配置
      
                  link: {
                    type: 'pageModal',
                    params: {},
                    target: '1122'
                  },
                },
      
                {
                  formType: "serviceDate",
                  label: "",
                  compare: true,
                  lessTip: "", //  最大值小于最小值时提示
                  equalTip: "", // 最大值等于最小值时提示
                  // extra: '平米', // 不能与动态单位选择共存
                  canEqual: true, // 是否可以相等
      
                  subHtmlObj: [
                    {
                      formType: "datePlug",
                      formKey: 'min_date',
                      placeHolder: "最小",
                      mode: "date",
                      value: "",
                      label: "服务开通时间",
                      rules: [
                        {
                          name: 'required',
                          value: true,
                          message: "请填写最小"
                        }
                      ],
                    },
                    {
                      formType: "datePlug",
                      formKey: 'max_date',
                      mode: "date",
                      label: "服务结束时间",
                      placeHolder: "最大",
      
                      value: "",
                      rules: [
                        {
                          name: 'required',
                          value: true,
                          message: "填写最大"
                        }
                      ]
                    },
                    { //  注意顺序
                      formType: "textInput",
                      formKey: 'service_period',
                      value: 1,
                      label: "服务周期",
                      showValue: '1天',
                      disabled: true
                    }
                  ]
                },
                {
                  formType: "userInfo",
                  label: "您对服务人员满意吗？",
                  formKey: "",
                  tips: '已匿名',
                  value: '王海燕',
                  icon: 'http://icon' // 头像
      
                },
                {
                  formType: "switchButtonMark",
                  label: "",
                  formKey: "switchButtonMark",
                  multiSelect: false,
                  value: '1',
      
                  itemList: [
                    {
                      label: "不满意",
                      value: "0",
                      icon: "../../../assets/icon/release_icon_contact@3x.png", // 未勾选图 http
                      iconOn: "../../../assets/icon/release_icon_contact@3x.png", // 勾选图 http
                      check: false
                    }, {
                      label: "满意",
                      value: "1",
                      icon: "../../../assets/icon/release_icon_contact@3x.png", // 未勾选图 http
                      iconOn: "../../../assets/icon/release_icon_contact@3x.png", // 勾选图 http
                      check: true
                    },
      
                  ],
                  rules: [
                  ],
                  subHtmlObj: [
                    {
                      formType: "switchButtonMarkTag",
                      label: "",
                      formKey: "switchButtonMarkTag",
                      multiSelect: true,
                      value: '1',
                      showCondition: "1",
                      itemList: [
                        {
                          label: "主动电话沟通",
                          value: "1",
                          check: false
                        },
                        {
                          label: "准时上门",
                          value: "2",
                          check: true
                        },
                        {
                          label: "主动展示健康证",
                          value: "3",
                          check: false
                        },
                        {
                          label: "收纳能力强",
                          value: "4",
                          check: false
                        }
      
                      ],
                      rules: [
                      ],
      
                    },
                    {
                      formType: "switchButtonMarkTag",
                      label: "请选择原因，我们会督促服务人员",
                      formKey: "switchButtonMarkTag",
                      multiSelect: true,
                      value: '1',
                      showCondition: "0",
                      itemList: [
                        {
                          label: "不准时",
                          value: "1",
                          check: false
                        },
                        {
                          label: "态度不好",
                          value: "2",
                          check: false
                        },
                        {
                          label: "无责任心",
                          value: "3",
                          check: false
                        },
                        {
                          label: "做事拖拉",
                          value: "4",
                          check: false
                        }
      
                      ],
                      rules: [
                      ],
      
                    }
                  ]
                },
                {
                  compare: false,
                  formType: "citySelectLJ",
                  cssStyle: "",
                  showValueCssStyle: "margin-left:0rem",
                  valueCssStyle: "border:unset;border-bottom: 0.03rem solid #e8eaed;border-radius:0rem;margin-right:1.25rem",
                  endIcon: "../../../assets/icon/release_icon_arrow_right@2x.png",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  // submit: {
                  //   isManualBinding: false,
                  //   doEventFirst: false,
                  //   isScript: false,
                  //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                  //   isDisabled: false,
                  //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                  // },
                  formKey: "city_id",
                  link: {
                    dataStr: false,
                    isScript: false,
                    isArray: true,
                    isDisabled: false,
                    isMajorPic: false,
                    type: "modal",
                    target: "52329"
                  },
                  label: "城市",
                  subHtmlObj: [
                    {
                      cssStyle: "",
                      valueCssStyle: "border:unset;border-bottom: 0.03rem solid #e8eaed;border-radius:0rem;",
                      endIcon: "../../../assets/icon/release_icon_arrow_right@2x.png",
                      compare: false,
                      formType: "pickerSelectLJ",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      formKey: "district_id",
      
                      rules: [
                        {
                          name: "required",
                          message: "请选择区域",
                          value: "false"
                        }
                      ],
                      label: "区域",
                      placeHolder: "请选择"
                    }
                  ],
                  appType: "LJ",
                  placeHolder: "请选择"
                },
                {
                  compare: false,
                  formType: "citySelectLJ",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  // submit: {
                  //   isManualBinding: false,
                  //   doEventFirst: false,
                  //   isScript: false,
                  //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                  //   isDisabled: false,
                  //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                  // },
                  formKey: "city_id",
                  link: {
                    dataStr: false,
                    isScript: false,
                    isArray: true,
                    isDisabled: false,
                    isMajorPic: false,
                    type: "modal",
                    target: "52329"
                  },
                  label: "城市",
                  subHtmlObj: [
                    {
                      compare: false,
                      formType: "pickerSelectLJ",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      formKey: "district_id",
      
                      rules: [
                        {
                          name: "required",
                          message: "请选择区域",
                          value: "false"
                        }
                      ],
                      label: "区域",
                      placeHolder: "请选择"
                    }
                  ],
                  appType: "LJ",
                  placeHolder: "请选择"
                },
                {
                  formType: "singleColumnSelectTwoLine",
                  formKey: "gongzhong1",
                  label: "入驻工种",
                  placeHolder: "singleColumnSelectTwoLine",
                  value: 0,
                  showValue: '',
                  labelCssStyle: '',
                  valueCssStyle: '',
                  cssStyle: 'background: #FFB366',
                  sepCssStyle: 'background: #FF9546',
                  placeholderCssStyle: 'color: #B36A36',
                  endIcon: 'http:',
                  // disabled: false,
                  data: [
                    {
                      label: "水电工",
                      value: 0
                    },
                    {
                      label: "瓦工",
                      value: 1
                    }, {
                      label: "木工",
                      value: 2
                    },
      
                  ],
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择工种"
                    }
                  ]
                },
      
                {
                  formType: "airBubbles",
                  sepCssStyle: '', // 箭头样式备用
                  value: "您可以选择做业务和承接劳务二选一或者全选，做蜂喔房产、装修、建材家居家电直销业务只需500元入驻费；承接各项维修维护、保洁家政等劳务免入驻费",
      
                },
                {
                  formType: "switchButtonJoin",
                  label: "",
                  formKey: "switchButtonJoin",
                  multiSelect: false,
                  value: '',
                  icon: "", // 未勾选图
                  iconOn: "", // 勾选图
                  itemList: [
                    {
                      label: "物业租售与商铺<br>转让业务",
                      value: "0",
                      icon: "../../../assets/icon/release_icon_contact@3x.png",
      
                      check: false
                    }, {
                      label: "住宅与商铺<br>装修业务",
                      value: "2",
                      icon: "../../../assets/icon/release_icon_contact@3x.png",
      
                      check: false
                    },
                    {
                      label: "建材家居家电<br>的直销业务",
                      value: "1",
      
                      icon: 'https://',
                      check: true
                    }
                  ],
                  rules: [
                  ],
                },
                {
                  formType: "pickerSelectJoin",
                  formKey: "district_join",
                  labelCssStyle: 'color: #401406',
                  valueCssStyle: 'color: #401406',
                  cssStyle: 'background: #E6755C',
                  sepCssStyle: 'background: #A12B12',
                  placeholderCssStyle: 'color: #8C3215',
                  placeHolder: "请选择",
                  label: "服务城市pickerSelectJoin",
                  endIcon: 'http:',
                  value: "", // , 拼接id
                  data: [
                    {
                      label: "广东",
                      value: "440303",
                      children: [{
                        label: "罗湖区",
                        value: "440303",
                        children: [
                          {
                            label: "蔡屋围",
                            value: "44030301",
                            children: null
                          },
                          {
                            label: "国贸",
                            value: "44030302",
                            children: null
      
                          }]
                      },
                      {
                        label: "福田区",
                        value: "440304",
                        children: [
                          {
                            label: "上啥",
                            value: "44030401",
                            children: null
                          },
                          {
                            label: "下沙",
                            value: "44030403",
                            children: null
                          }]
                      }]
                    },
                    {
                      label: "广西",
                      value: "450301",
                      children: []
                    },
                  ],
      
                  rules: [
                  ]
                },
                {
                  formType: "singleColumnSelectJoin",
                  formKey: "gongzhong",
                  label: "入驻工种",
                  placeHolder: "请选择",
                  value: 0,
                  showValue: '',
                  labelCssStyle: '',
                  valueCssStyle: '',
                  cssStyle: 'background: #FFB366',
                  sepCssStyle: 'background: #FF9546',
                  placeholderCssStyle: 'color: #B36A36',
                  endIcon: 'http:',
                  // disabled: false,
                  data: [
                    {
                      label: "水电工",
                      value: 0
                    },
                    {
                      label: "瓦工",
                      value: 1
                    }, {
                      label: "木工",
                      value: 2
                    },
      
                  ],
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择工种"
                    }
                  ]
                },
                {
                  formType: "textAreaLJ",
                  formKey: "markJoin",
                  // maxLength: 260, // 不配置 字数统计
                  cssStyle: 'border: unset;',
                  valueCssStyle: 'background: #FFB366;border-radius: 0.75rem;font-size: 0.81rem;font-weight: bold;color: #402806;line-height: 1.06rem;padding-left: 0.25rem;',
                  placeholderCssStyle: '',
                  value: '',
                  hasBorder: true, // 有边框
                  placeHolder: "请填写面谈备注",
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请填写面谈备注",
                    }
                  ]
      
                },
                {  // 入驻 links
      
                  formType: "joinLinks",
                  value: '',
                  formKey: "read",
                  label: "我已阅读并同意",
                  cssStyle: "", //
                  icon: 'http', // 未勾选
                  iconOn: 'http', // 勾选
                  itemList: [
                    {
                      label: '《蜂喔用户协议》',
                      link: {
                        type: "pageModal",
                        target: "52329",
                        params: {}
                      }
                    }
                    , {
                      label: '《隐私政策》',
                      link: {
                        type: "pageModal",
                        target: "52329",
                        params: {}
                      }
                    }
                    , {
                      label: '《入驻协协议》',
                      link: {
                        type: "pageModal",
                        target: "52329",
                        params: {}
                      }
                    }
      
                  ],
      
                  rules: [
      
                    {
                      name: "required",
                      message: "请勾选通用协议",
                      value: "true"
                    }
                  ]
                },
                {
                  formType: "multipleColumnSelectJoin",
                  formKey: "kaidian",
                  label: "开店区域",
                  placeHolder: "multipleColumnSelectJoin",
                  value: '',
                  showValue: '',
                  endIcon: 'icon_sheji_arrow.png', // 请配置 右边箭头http：
                  showCheckAll: 'false', // 是否展示全选
                  data: [
                    {
                      label: "不限",
                      value: '0',
                      check: true,
                      radio: true // 与其余项 互斥
                    },
                    {
                      label: "南山",
                      value: '1',
                      check: true
                    },
                    {
                      label: "罗湖",
                      value: '2',
                      check: true
                    },
                    {
                      label: "宝安",
                      value: '3',
                      check: false
                    },
                  ],
                  rules: [
                  ]
                },
                {
                  compare: false,
                  formType: "textInputJoin",
                  textType: "number",
                  hidden: false,
                  sepCssStyle: 'background: #FFC859;', // 分割线样式
                  placeholderCssStyle: '--placeholder-color:#B3823E;', // placeholder 样式
                  valueCssStyle: '--placeholder-color:#B3823E;font-size: 0.81rem;font-weight: bold;color: #402806;',
                  formKey: "tr_fee1",
                  rules: [
                    {
                      name: "pattern",
                      message: "请填写",
                      value: ".{0,50}"
                    },
                    {
                      name: "required",
                      message: "请填写",
                      value: "true"
                    }
                  ],
                  label: "您的姓名1",
                  maxLength: 4,
                  placeHolder: "请填写"
                },
                {
      
                  formType: "modalMultipleSelect3_Full",
                  label: "技能维修",
                  formKey: "wxskill11",
                  placeHolder: "请选择",
                  endIcon: 'http',
                  secondMax: 0, // 二级可以选 默认0 不限制
                  thirdMax: 0, // 三级 可以选 默认0 不限制
                  showCheckAll: "false",
                  value: '',
                  children: [
                    {
                      label: "水电维修",
                      value: "11",
                      children: [
                        {
                          label: "电路(检修)",
                          value: "1101",
                          children: []
                        },
                        {
                          label: "水管",
                          value: "1102",
                          children: [
                          ]
                        },
                        {
                          label: "浴霸",
                          value: "1103",
                          tips: "请选择维修品牌(选填)",
                          children: [{
                            label: "奥普",
                            value: "1103001",
                            children: null
                          },
                          {
                            label: "欧普照明",
                            value: "1103002",
                            children: null
                          },
                          {
                            label: "雷士",
                            value: "1103003",
                            children: null
                          },
                          {
                            label: "美的",
                            value: "1103004",
                            children: null
                          },
                          {
                            label: "飞利浦",
                            value: "1103005",
                            children: null
                          },
                          {
                            label: "TCL",
                            value: "1103006",
                            children: null
                          },
                          {
                            label: "松下",
                            value: "1103007",
                            children: null
                          }, {
                            label: "小米",
                            value: "1103008",
                            children: null
                          }, {
                            label: "海尔",
                            value: "1103009",
                            children: null
                          }]
                        }
                        ,
                        {
                          label: "新一级能效",
                          value: "1104",
                          children: []
                        },
                        {
                          label: "空调挂机",
                          value: "1105",
                          children: []
                        }
                      ]
      
                    },
                    {
                      label: "地面",
                      value: "12",
                      children: [
                        {
                          label: "地面材料",
                          value: "1201",
                          children: [
                            {
                              label: "瓷砖",
                              value: "1201001",
                              children: null
                            },
                            {
                              label: "木地板",
                              value: "1201002",
                              children: null
                            }]
                        }]
                    },
                    {
                      label: "测试仅2级",
                      value: "13",
                      children: [
                        {
                          label: "测试2级1",
                          value: "1301",
                          children: [
                          ]
                        },
                        {
                          label: "测试2级2",
                          value: "1302",
                          children: [
                          ]
                        },
                        {
                          label: "测试2级3",
                          value: "1303",
                          children: [
                          ]
                        }
                      ]
                    }
                  ]
                  ,
                },
                {
                  // <!-- 维修预估价格 -->
                  formType: "estimatePrice",
                  formKey: "estimatePrice",
                  label: "空调维修",
                  value: '113',
                  tips: "预估价格",
                  unit: "/台"
                },
                {
                  formType: "switchButtonFW_3",
                  formKey: "wy13",
                  itemListCssStyle: "height: 2.75rem;background: #FFD88F;box-shadow: inset 0rem 0rem 0.19rem 0rem rgba(255, 255, 255, 0.5);border-radius: 0.5rem;", // 没有选中时
                  itemListCheckedCssStyle: "height: 2.75rem;background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 251, 242, 0.9) 100%);box-shadow: inset 0rem 0rem 0.5rem 0rem #FFC859;border-radius: 0.5rem;border: none;", // 有选中时
                  label: "switchButtonFW_3_max_1",
                  value: '',
                  valueCssStyle: "font-size: 0.81rem;font-weight: bold;color: #4D1F20;", // 选中 字
                  placeholderCssStyle: "font-size: 0.81rem;font-weight: bold;color: #48300C;", // 没有选中 字
                  valueNCssStyle: "font-size: 0.81rem;font-weight: bold;color: #4D1F20;", // 新增上行文字选中 字
                  placeholderNCssStyle: "font-size: 0.81rem;font-weight: bold;color: #48300C;", // 新增上行文字 没有选中 字
                  extraCssStyle: "font-size: 0.81rem;font-weight: bold;color: #4D1F20;", // 单位样式
                  multiSelect: false,
                  showValue: '',
                  maxSize: 3,
                  itemList: [
      
                    {
                      unit: "￥",
                      valueN: "720", // 新增上行文字
                      label: "2居",
                      value: '1',
                      check: true
                    },
                    {
                      label: "发布多物业",
                      value: '2',
                      check: false,
      
                    },
                    {
                      label: "4居",
                      value: '3',
                      check: false
                    },
                    {
                      label: "4居以上",
                      value: '5',
                      check: false
                    },
                  ]
                }
                ,
               
                {
                  formType: "switchButtonFW",
                  formKey: "wy11",
                  label: "选择您需要的服务",
                  value: '',
                  multiSelect: true,
      
                  showValue: '',
                  itemList: [
      
                    {
                      label: "日常清洁",
                      value: '1',
                      icon: "http",
                      check: true
                    },
                    {
                      label: "家具清洁",
                      value: '2',
                      icon: "http",
                      check: false,
      
                    },
                    {
                      label: "电器清洁",
                      value: '3',
                      icon: "http",
                      check: false
                    }
                  ],
      
                  rules: [
                  ]
                },
      
                {
                  formType: "switchButtonFW",
                  formKey: "wy12",
                  label: "选择具体维修类别",
                  value: '',
                  multiSelect: false,
      
                  showValue: '',
                  itemList: [
      
                    {
                      label: "空调",
                      value: '1',
      
                      check: true
                    },
                    {
                      label: "冰箱",
                      value: '2',
      
                      check: false,
      
                    },
                    {
                      label: "洗衣机",
                      value: '3',
      
                      check: false
                    }
                  ],
                  subHtmlObj: [
      
                    {
                      // <!-- 维修预估价格 -->
                      formType: "estimatePrice",
                      formKey: "estimatePrice",
                      label: "空调维修",
                      value: '113',
                      tips: "预估价格",
                      unit: "/台",
                      showCondition: "1",
      
                    },
                    {
                      // <!-- 维修预估价格 -->
                      formType: "estimatePrice",
                      formKey: "estimatePrice",
                      label: "冰箱维修",
                      value: '115',
                      tips: "预估价格",
                      unit: "/台",
                      showCondition: "2",
      
                    },
                    {
                      // <!-- 维修预估价格 -->
                      formType: "estimatePrice",
                      formKey: "estimatePrice",
                      label: "洗衣机维修",
                      value: '110',
                      tips: "预估价格",
                      unit: "/台",
                      showCondition: "3",
      
                    },
      
      
                  ],
      
                  rules: [
                  ]
                },
                {
                  formType: "switchButtonLJ_icon",
                  label: "您想转让、出租还是出售？",
                  formKey: "switchButtonLJ_icon",
                  multiSelect: false,
                  value: '',
                  itemList: [
                    {
                      label: "我要买房",
                      value: "0",
                      icon: "../../../assets/icon/release_icon_contact@3x.png",
                      tagLabel: "精选好房",
                      changeTitleLabel: "告诉我们您的租房需求<br>立即为您推荐合适房源",
                      check: false
                    }, {
                      label: "我要转让",
                      value: "2",
                      icon: "../../../assets/icon/release_icon_contact@3x.png",
                      tagLabel: "精选好房",
                      changeTitleLabel: "告诉我们您的购房需求<br>立即为您推荐合适房源",
                      check: false
                    },
                    {
                      label: "我要租房",
                      value: "1",
                      tagLabel: "快速成交",
                      icon: 'https://',
                      check: true
                    }
                  ],
                  rules: [
                  ],
                },
                {
                  formType: "slider",
                  label: "您的租房预算是多少？",
                  formKey: "slider",
                  multiSelect: true,
                  value: "100",
                  unit: '万',
                  step: 100, // 滑动步长
                  itemList: [
                    {
                      label: "",
                      value: "100", // 最小值
      
                    },
                    {
                      label: "",
                      value: "2000",
      
                    },
                    {
                      label: "",
                      value: "4000",
      
                    },
                    {
                      label: "",
                      value: "6000",
      
                    },
                    {
                      label: "",
                      value: "8000",
      
                    },
                    {
                      label: "1万", // 优先展示
                      value: "10000",
                    },
                    {
                      label: "1万+", //
                      value: "11000", // 最大值
                    }
                  ],
                  rules: [
                  ],
                },
                {
                  formType: "formHeader",
                  label: "为您提供免费设计服务",
      
                },
                {
                  formType: "sectionDesc",
                  label: "您有户型图了吗？",
                  labelCssStyle: "width:100%",
                  cssStyle: "font-size: 1.38rem;font-weight: bold;color: #0F0F0F;line-height: 1.63rem;margin-top:1.25rem;padding-left:1.5rem;background: #FFFFFF;"
      
                },
                {
                  formType: "sectionDesc",
                  label: "为您推荐个性化设计服务",
                  labelCssStyle: "width:100%",
                  cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.5rem;margin-bottom:0.5rem;padding-left:1.5rem;background: #FFFFFF;"
      
                },
                {
                  formType: "sectionDesc",
                  label: "①搜索小区名获取户型图免费生成设计",
                  labelCssStyle: "width:100%",
                  cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.5rem;margin-bottom:0.5rem;padding-left:1.5rem;background: #FFFFFF;padding-bottom: 0;"
      
                },
      
                {
                  formType: "designItem",
                  label: "搜索小区名获取",
                  endIcon: 'icon_sheji_arrow.png',
                  link: {
                    type: "page",
                    target: "52329",
                    params: {}
                  },
                  cssStyle: "height: 3.5rem;background: #FFFFFF;box-shadow: 0rem 0.19rem 1rem 0rem rgba(15, 15, 15, 0.05);border-radius: 0.5rem;border: 0.03rem solid #F0F0F0;",
                  labelCssStyle: "font-size: 0.94rem;font-weight: bold;color: #0F0F0F;"
                },
                {
                  formType: "designItem",
                  label: "维修师傅",
                  placeHolder: "家电水电维修安装/房屋维修/开换锁",
                  placeholderCssStyle: "font-size: 0.69rem;color: #995817;line-height: 0.94rem;position: relative;z-index: 2;margin-top:0.38rem;display:block",
                  endIconCssStyle: "width:5.63rem;height:5.25rem;position: absolute;right: 0;bottom: 0;z-index: 1;",
                  endIcon: 'http:',
      
                  cssStyle: "padding:0 1.25rem;height: 5.25rem;background: linear-gradient(135deg, #FFF9E6 0%, #FFEECC 100%, rgba(255, 249, 231, 0.5) 100%);border-radius: 0.5rem;position: relative;z-index: 1;display: flex;align-items: center;",
                  labelCssStyle: "font-size: 1rem;font-weight: bold;color: #4D2E10;line-height: 1.25rem;position: relative;z-index: 2;display: flex;flex-direction: column;",
      
                  link: {
                    type: "page",
                    target: "52329",
                    params: {}
                  }
                },
      
                {
                  formType: "designItem",
                  label: "家电清洗",
                  placeHolder: "深度清洁，冰箱、洗衣机、抽油烟机等",
                  placeholderCssStyle: "font-size: 0.69rem;color: #808080;line-height: 0.94rem;position: relative;z-index: 2;margin-top:0.38rem;display:block",
                  leftIconCssStyle: "width:2.5rem;height:2.5rem;margin-right:1rem",
                  leftIcon: 'http:',
                  endIcon: 'XXX',
                  cssStyle: "padding:0 1rem;height: 5.25rem;background: #FFFFFF;box-shadow: 0rem 0.19rem 1rem 0rem rgba(15, 15, 15, 0.05);border-radius: 0.5rem;border: 0.03rem solid #F0F0F0;position: relative;z-index: 1;display: flex;align-items: center;",
                  labelCssStyle: "font-size: 1rem;font-weight: bold;color: #0F0F0F;line-height: 1.25rem;position: relative;z-index: 2;display: flex;flex-direction: column;",
      
                  link: {
                    type: "page",
                    target: "52329",
                    params: {}
                  }
                },
                {
                  formType: "pickerSelectDesign", //
                  formKey: "district_design",
                  placeHolder: "请选择",
                  label: "房屋城市",
                  value: "", // , 拼接id
                  data: [
                    {
                      label: "广东",
                      value: "440303",
                      children: [{
                        label: "罗湖区",
                        value: "440303",
                        children: [
                          {
                            label: "蔡屋围",
                            value: "44030301",
                            children: null
                          },
                          {
                            label: "国贸",
                            value: "44030302",
                            children: null
      
                          }]
                      },
                      {
                        label: "福田区",
                        value: "440304",
                        children: [
                          {
                            label: "上啥",
                            value: "44030401",
                            children: null
                          },
                          {
                            label: "下沙",
                            value: "44030403",
                            children: null
                          }]
                      }]
                    },
                    {
                      label: "广西",
                      value: "450301",
                      children: []
                    },
                  ],
      
                  rules: [
                  ]
                },
                {
                  subHtmlObj: [
                    {
                      compare: false,
                      formType: "columSelect",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      data: [
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "1室",
                          isMajorPic: false,
                          value: "1"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "2室",
                          isMajorPic: false,
                          value: "2"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "3室",
                          isMajorPic: false,
                          value: "3"
                        }
                      ],
                      hidden: false,
                      formKey: "room_type11",
                      value: "2"
                    },
                    {
                      compare: false,
                      formType: "columSelect",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      data: [
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "1厅",
                          isMajorPic: false,
                          value: "1"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "2厅",
                          isMajorPic: false,
                          value: "2"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "3厅",
                          isMajorPic: false,
                          value: "3"
                        }
                      ],
                      hidden: false,
                      formKey: "room_hall11",
                      value: "3"
                    },
                    {
                      compare: false,
                      formType: "columSelect",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      data: [
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "1卫",
                          isMajorPic: false,
                          value: "1"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "2卫",
                          isMajorPic: false,
                          value: "2"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "3卫",
                          isMajorPic: false,
                          value: "3"
                        }
                      ],
                      hidden: false,
                      formKey: "room_bit11",
                      value: "2"
                    }
                  ],
                  compare: false,
                  formType: "modalMultipleFormKeySelectDesign",
                  showValue: "2室3厅2卫",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  label: "房型",
                  value: "0",
                  placeHolder: "请选择",
                  multiSelect: true
                },
                {
                  formType: "modalOfMoreItemsDesign",
                  label: "小区名称",
                  showLabel: true,
                  placeHolder: "请选择",
                  showSearchModal: true,
                  hasAddNew: true, // 默认 true， 表示可以新增
                  showIndex: 0, // 表示要显示第几个子项的值
                  subHtmlObj: [
      
                    {
                      compare: false,
                      formType: "textInput",
                      hidden: false,
                      formKey: "name",
                      rules: [
                        {
                          name: "pattern",
                          message: "请填写正确小区名称",
                          value: ".{0,50}"
                        },
                        {
                          name: "required",
                          message: "请填写小区名称",
                          value: "true"
                        }
                      ],
                      label: "小区名称",
                      maxLength: 50,
                      placeHolder: "请填写"
                    }, {
                      subHtmlObj: [
                        {
                          compare: false,
                          formType: "citySelect",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          // submit: {
                          //   isManualBinding: false,
                          //   doEventFirst: false,
                          //   isScript: false,
                          //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                          //   isDisabled: false,
                          //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                          // },
                          formKey: "city_id",
                          link: {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            isMajorPic: false,
                            type: "modal",
                            target: "52329"
                          },
                          label: "城市",
                          subHtmlObj: [
                            {
                              compare: false,
                              formType: "pickerSelect",
                              canEqual: false,
                              checkAll: false,
                              expression: true,
                              hidden: false,
                              formKey: "district_id",
      
                              rules: [
                                {
                                  name: "required",
                                  message: "请选择区域",
                                  value: "false"
                                }
                              ],
                              label: "区域",
                              placeHolder: "请选择"
                            }
                          ],
                          appType: "LJ",
                          placeHolder: "请选择"
                        },
                        {
                          subHtmlObj: [
                            {
                              compare: false,
                              formType: "detailAddress_location",
                              canEqual: false,
                              checkAll: false,
                              expression: true,
                              hidden: false,
                              formKey: "location",
                              appType: "LJ",
                              rules: [
                                {
                                  name: "required",
                                  message: "请选择详细地址",
                                  value: "false"
                                }
                              ]
                            }
                          ],
                          compare: false,
                          formType: "detailAddress",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          formKey: "address",
                          appType: "LJ",
                          label: "详细地址",
                          placeHolder: "请设置地址"
                        },
                      ],
                      compare: false,
                      formType: "selectAddressWidget",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      formKey: "Daddress",
                      appType: "LJ",
                      rules: [
                        {
                          name: "required",
                          message: "请设置地址",
                          value: "false"
                        }
                      ],
                      label: "我的店铺在",
                      placeHolder: "请填写"
                    }
                  ]
                },
                {
                  formType: "modalOfMoreItemsFW",
                  label: "所在小区是？",
                  showLabel: true,
                  placeHolder: "请选择",
                  showSearchModal: true,
                  hasAddNew: true, // 默认 true， 表示可以新增
                  showIndex: 0, // 表示要显示第几个子项的值
                  subHtmlObj: [
      
                    {
                      compare: false,
                      formType: "textInput",
                      hidden: false,
                      formKey: "name",
                      rules: [
                        {
                          name: "pattern",
                          message: "请填写正确小区名称",
                          value: ".{0,50}"
                        },
                        {
                          name: "required",
                          message: "请填写小区名称",
                          value: "true"
                        }
                      ],
                      label: "小区名称",
                      maxLength: 50,
                      placeHolder: "请填写"
                    }, {
                      subHtmlObj: [
                        {
                          compare: false,
                          formType: "citySelect",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          // submit: {
                          //   isManualBinding: false,
                          //   doEventFirst: false,
                          //   isScript: false,
                          //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                          //   isDisabled: false,
                          //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                          // },
                          formKey: "city_id",
                          link: {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            isMajorPic: false,
                            type: "modal",
                            target: "52329"
                          },
                          label: "城市",
                          subHtmlObj: [
                            {
                              compare: false,
                              formType: "pickerSelect",
                              canEqual: false,
                              checkAll: false,
                              expression: true,
                              hidden: false,
                              formKey: "district_id",
      
                              rules: [
                                {
                                  name: "required",
                                  message: "请选择区域",
                                  value: "false"
                                }
                              ],
                              label: "区域",
                              placeHolder: "请选择"
                            }
                          ],
                          appType: "LJ",
                          placeHolder: "请选择"
                        },
                        {
                          subHtmlObj: [
                            {
                              compare: false,
                              formType: "detailAddress_location",
                              canEqual: false,
                              checkAll: false,
                              expression: true,
                              hidden: false,
                              formKey: "location",
                              appType: "LJ",
                              rules: [
                                {
                                  name: "required",
                                  message: "请选择详细地址",
                                  value: "false"
                                }
                              ]
                            }
                          ],
                          compare: false,
                          formType: "detailAddress",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          formKey: "address",
                          appType: "LJ",
                          label: "详细地址",
                          placeHolder: "请设置地址"
                        },
                      ],
                      compare: false,
                      formType: "selectAddressWidget",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      formKey: "Daddress",
                      appType: "LJ",
                      rules: [
                        {
                          name: "required",
                          message: "请设置地址",
                          value: "false"
                        }
                      ],
                      label: "我的店铺在",
                      placeHolder: "请填写"
                    }
                  ]
                },
                {
                  formType: "sectionDesc",
                  label: "服务时间",
                  labelCssStyle: "width:100%",
                  cssStyle: "font-size: 1.38rem;font-weight: bold;color: #0F0F0F;line-height: 1.63rem;margin-top:1.25rem;padding-left:1.5rem;padding-bottom:0;background: #FFFFFF;"
                },
                {
                  formType: "sectionDesc",
                  label: "已为您推荐上门服务时间，点击可修改期望上门时间",
                  labelCssStyle: "width:100%",
                  cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1.5rem;padding-top:0;background: #FFFFFF;"
      
                },
                {
                  formType: "bottomModalOfMoreItemsFW",
                  label: "服务时间",
                  showLabel: true,
                  placeHolder: "请选择",
                  showSearchModal: false,
                  hasAddNew: false, // 默认 true， 表示可以新增
                  showIndex: 0, // 表示要显示第几个子项的值
                  modalCssStyle: "bottom", // 底部弹窗
      
                  leftIconCssStyle: "width:1rem;height:1rem;margin-right:0.5rem",
                  endIconCssStyle: "width:0.69rem;height:0.5rem;margin-left:0.5rem;",
                  leftIcon: '../../../assets/icon/release_icon_industry@3x.png',
                  endIcon: 'XXX',
                  cssStyle: "padding:0.75rem;height: 2.5rem;align-items: center;display: flex;",
                  valueCssStyle: "font-size: 0.88rem;color: #0F0F0F;line-height: 1.13rem;position: relative;z-index: 2;display: flex;flex-direction: column;flex-grow:1",
                  placeholderCssStyle: "font-size: 0.88rem;color: #999999;line-height: 1.13rem;position: relative;z-index: 2;flex-grow:1",
      
      
                  subHtmlObj: [
                    {
                      compare: false,
                      formType: "textInputLJ",
                      hidden: false,
                      extra: "平方",
                      formKey: "company_name2",
                      rules: [
                        {
                          name: "pattern",
                          message: "请填写正确的面积",
                          value: ".{0,50}"
                        },
                        {
                          name: "required",
                          message: "请填面积",
                          value: "true"
                        }
                      ],
                      labelCssStyle: 'font-size:0.88rem;font-weight: normal',
                      valueCssStyle: 'font-size:1.13rem;font-weight: normal',
                      label: "面积",
                      // extra: "平米",
                      maxLength: 3,
                      placeHolder: "请填写"
                    },
                    {
                      formType: "sectionDesc",
                      label: "温馨提示：<br>1.纯毛、纯棉、黄麻、真丝材料的地毯暂时无法提供服务，还请您给予谅解(可服务地毯的绒毛长度为2-5cm)<br>2.地毯面积不足4平米时，按照4平米收取费用",
                      labelCssStyle: "width:100%",
                      cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.38rem;margin-bottom:0rem;padding-left:1.5rem;padding-top:0;background: #FFFFFF;"
      
                    },
                  ]
                },
                {
                  subHtmlObj: [
                    {
                      compare: false,
                      formType: "citySelect",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      // submit: {
                      //   isManualBinding: false,
                      //   doEventFirst: false,
                      //   isScript: false,
                      //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                      //   isDisabled: false,
                      //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                      // },
                      formKey: "city_id2",
                      link: {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        isMajorPic: false,
                        type: "modal",
                        target: "52329"
                      },
                      label: "城市",
                      subHtmlObj: [
                        {
                          compare: false,
                          formType: "pickerSelect",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          formKey: "district_id2",
      
                          rules: [
                            {
                              name: "required",
                              message: "请选择区域",
                              value: "false"
                            }
                          ],
                          label: "区域",
                          placeHolder: "请选择"
                        }
                      ],
                      appType: "LJ",
                      placeHolder: "请选择"
                    },
                    {
                      subHtmlObj: [
                        {
                          compare: false,
                          formType: "detailAddress_location",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          formKey: "location2",
                          appType: "LJ",
                          rules: [
                            {
                              name: "required",
                              message: "请选择详细地址",
                              value: "false"
                            }
                          ]
                        }
                      ],
                      compare: false,
                      formType: "detailAddress",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      formKey: "address2",
                      appType: "LJ",
                      label: "详细地址",
                      placeHolder: "请设置地址"
                    },
                  ],
                  compare: false,
                  formType: "selectAddressWidget",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  formKey: "Daddress2",
                  appType: "LJ",
                  rules: [
                    {
                      name: "required",
                      message: "请设置地址",
                      value: "false"
                    }
                  ],
                  label: "我的店铺在",
                  placeHolder: "请填写"
                },
      
                {
                  subHtmlObj: [
                    {
                      compare: false,
                      formType: "citySelect",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      // submit: {
                      //   isManualBinding: false,
                      //   doEventFirst: false,
                      //   isScript: false,
                      //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                      //   isDisabled: false,
                      //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                      // },
                      formKey: "city_id1",
                      link: {
                        dataStr: false,
                        isScript: false,
                        isArray: true,
                        isDisabled: false,
                        isMajorPic: false,
                        type: "modal",
                        target: "52329"
                      },
                      label: "城市",
                      subHtmlObj: [
                        {
                          compare: false,
                          formType: "pickerSelect",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          formKey: "district_id1",
      
                          rules: [
                            {
                              name: "required",
                              message: "请选择区域",
                              value: "false"
                            }
                          ],
                          label: "区域",
                          placeHolder: "请选择"
                        }
                      ],
                      appType: "LJ",
                      placeHolder: "请选择"
                    },
                    {
                      subHtmlObj: [
                        {
                          compare: false,
                          formType: "detailAddress_location",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          formKey: "location1",
                          appType: "LJ",
                          rules: [
                            {
                              name: "required",
                              message: "请选择详细地址",
                              value: "false"
                            }
                          ]
                        }
                      ],
                      compare: false,
                      formType: "detailAddress",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      formKey: "address1",
                      appType: "LJ",
                      label: "详细地址",
                      placeHolder: "请设置地址"
                    },
                  ],
                  compare: false,
                  formType: "selectAddressWidgetLJ",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  formKey: "Daddress1",
                  appType: "LJ",
                  rules: [
                    {
                      name: "required",
                      message: "请设置地址",
                      value: "false"
                    }
                  ],
                  label: "我的店铺在",
                  placeHolder: "请填写"
                },
      
                {
                  formType: "textInputDesign",
                  label: "真实姓名",
                  formKey: "userName",
                  placeHolder: "请填写",
                  textType: "text", // text /phone /number password 其他标准 html input type 类型
                  editable: true, // 是否可编辑
                  // disabled: false, // 是否禁用
                  clear: false,  // 是否带清除功能(仅editable为true,disabled为false才生效)
                  extra: '元',   // 右边注释 带单位显示文本框
                  // endIcon: 'x.png', // 右边小图标
                  value: '',     // 提交的值
                  minLength: 2,  // 最大长度
                  maxLength: 5,  // 最小长度
                  max: 99999,    // 最大值
                  min: 0,         // 最小值
                  rules: [{
                    name: 'required',
                    value: false,
                    message: "真实姓名必填"
                  }]
                },
                {
                  formType: "modalOfMoreItemsDesign",
                  showSureBtn: false, // false不展示确定 默认要true
                  showLabel: false, // 不显示标题
                  showIndex: 3, // 显示第几项的值
                  titleCssStyle: "--border-width: 0 0 0 !important", // 下级页面标题栏样式
                  backIcon: "back_left.png", // or "close.png"
                  showAnimation: true, // 默认false  是否显示横向动画化进入
                  formKey: "",
                  label: "装修风格",
                  tips: "", //
                  placeHolder: "请选择",
                  subHtmlObj: [
                    {
                      formType: "footerBtn", // 不做提交，只用于确定 当前选择 返回 ，配合 showSureBtn: false  使用，必须配置在二级表单第一项
                      label: "确定",
                      cssStyle: "", // btn 样式
                    },
                    {
                      formType: "sectionDesc",
                      label: "选择装修风格（可多选）",
                      labelCssStyle: "width:100%",
                      cssStyle: "font-size: 1.38rem;font-weight: bold;color: #0F0F0F;line-height: 1.63rem;margin-top:1.25rem;padding-left:1.25rem;background: #FFFFFF;"
      
                    },
                    {
                      formType: "sectionDesc",
                      label: "我们会根据你选择的风格顺序进行方案生成",
                      labelCssStyle: "width:100%",
                      cssStyle: "font-size: 0.81rem;color: #808080;;line-height: 1.06rem;margin-top:0.5rem;margin-bottom:0.5rem;padding-left:1.25rem;background: #FFFFFF;"
      
                    },
                    {
                      formType: "multipleDesignStyleSelect",
                      formKey: "dfg1",
      
                      cssStyle: "color:#0F0F0F,background: #FFC800;", // 勾选样式
                      placeHolder: "",
                      value: '',
                      showValue: '',
                      showCheckAll: 'false',
                      itemList: [
                        {
                          icon: "../../../assets/icon/release_icon_contact@3x.png",
                          label: "北欧",
                          tagLabel: "敬请期待", // 不可以选时候
                          status: "true", // false 不可以选
                          value: '0',
                          check: false,
      
                        },
                        {
                          icon: "https://",
                          label: "日式",
                          tagLabel: "敬请期待", // 不可以选时候
                          status: "true", // true 不可以选
                          value: '1',
                          check: false
                        },
                        {
                          icon: "https://",
                          label: "轻奢",
                          tagLabel: "敬请期待", // 不可以选时候
                          status: true, // true 不可以选
                          value: '2',
                          check: false
                        },
                        {
                          icon: "../../../assets/icon/release_icon_contact@3x.png",
                          label: "现代简约",
                          tagLabel: "敬请期待", // 不可以选时候
                          status: "false", // true 不可以选
                          value: '3',
                          check: false
                        },
                      ],
                      rules: [
                      ]
                    }
                  ]
                },
                {
                  formType: "multipleDesignStyleSelect",
                  formKey: "dfg",
      
                  cssStyle: "color:#0F0F0F,background: #FFC800;", // 勾选样式
                  placeHolder: "",
                  value: '',
                  showValue: '',
                  showCheckAll: 'false',
                  itemList: [
                    {
                      icon: "../../../assets/icon/release_icon_contact@3x.png",
                      label: "北欧",
                      tagLabel: "敬请期待", // 不可以选时候
                      status: "false", // // 不可以选
                      value: '0',
                      check: false,
      
                    },
                    {
                      icon: "https://",
                      label: "日式",
                      tagLabel: "敬请期待", // 不可以选时候
                      status: "false", // false 不可以选
                      value: '1',
                      check: false
                    },
                    {
                      icon: "https://",
                      label: "轻奢",
                      tagLabel: "敬请期待", // 不可以选时候
                      status: "false", // false 不可以选
                      value: '2',
                      check: false
                    },
                    {
                      icon: "https://",
                      label: "现代简约",
                      tagLabel: "敬请期待", // 不可以选时候
                      status: "false", // false 不可以选
                      value: '3',
                      check: false
                    },
                  ],
                  rules: [
                  ]
                },
                {
                  compare: false,
                  formType: "showSingleSelect",
                  canEqual: false,
                  minSize: '2',
                  lessTip: "less two",
                  hidden: false,
                  multiSelect: true, // 默认 false
                  valueCssStyle: "display:flex;flex-wrap:wrap",
                  placeholderCssStyle: "width:50%;",
                  formKey: "yew",
      
                  subHtmlObj: [
                    {
                      subHtmlObj: [
                        {
                          formType: "multipleSelect3",
                          label: "选择主营建材",
                          formKey: "skill11",
                          value: '',
                          children: [
                            {
                              label: "水电",
                              value: "11",
                              children: [
                                {
                                  label: "水电材料",
                                  value: "1101",
                                  children: [
                                    {
                                      label: "电线、电缆",
                                      value: "1101001",
                                      children: null
                                    },
                                    {
                                      label: "电气控制",
                                      value: "1101002",
                                      children: null
                                    }]
                                },
                                {
                                  label: "水电材料2",
                                  value: "1102",
                                  children: [
                                    {
                                      label: "2电线、电缆",
                                      value: "1102001",
                                      children: null
                                    },
                                    {
                                      label: "2电气控制",
                                      value: "1102002",
                                      children: null
                                    }]
                                },
                                {
                                  label: "水电材料3",
                                  value: "1103",
                                  children: []
                                }
                                ,
                                {
                                  label: "水电材料4",
                                  value: "1104",
                                  children: []
                                }
                              ]
      
                            },
                            {
                              label: "地面",
                              value: "12",
                              children: [
                                {
                                  label: "地面材料",
                                  value: "1201",
                                  children: [
                                    {
                                      label: "瓷砖",
                                      value: "1201001",
                                      children: null
                                    },
                                    {
                                      label: "木地板",
                                      value: "1201002",
                                      children: null
                                    }]
                                }]
                            },
                            {
                              label: "测试仅2级",
                              value: "13",
                              children: [
                                {
                                  label: "测试2级1",
                                  value: "1301",
                                  children: [
                                  ]
                                },
                                {
                                  label: "测试2级2",
                                  value: "1302",
                                  children: [
                                  ]
                                },
                                {
                                  label: "测试2级3",
                                  value: "1303",
                                  children: [
                                  ]
                                }
                              ]
                            }
                          ]
                          ,
                        },
                      ],
                      compare: false,
                      formType: "modalOfMoreItems", //
                      canEqual: false,
                      showCondition: "4",
                      checkAll: true, // 是否显示全选
                      expression: true,
                      hidden: false,
                      showValue: '',
                      showSureBtn: true, // 不展示确定 默认要true
                      showLabel: true, // 是否显示标题
                      placeHolder: '请选择',
                      label: "选择主营建材",
                      lines: "inset",
      
                    }
                  ],
                  itemList: [
                    {
                      dataStr: false,
                      isScript: false,
                      isArray: true,
                      check: true,
                      isDisabled: false,
                      label: "建材销售",
                      isMajorPic: false,
                      value: "1",
                      iconOn: "https:" // 选中后的图标
                    },
                    {
                      dataStr: false,
                      isScript: false,
                      isArray: true,
                      check: true,
                      isDisabled: false,
                      label: "直租直售业务",
                      isMajorPic: false,
                      value: "2"
                    },
                    {
                      dataStr: false,
                      isScript: false,
                      isArray: true,
                      check: true,
                      isDisabled: false,
                      label: "房管家业务",
                      isMajorPic: false,
                      value: "3"
                    },
                    {
                      dataStr: false,
                      isScript: false,
                      isArray: true,
                      check: true,
                      isDisabled: false,
                      label: "承接劳务",
                      isMajorPic: false,
                      value: "4"
                    }
                  ],
                  label: "",
                  value: "1,2,3,4",
                  placeHolder: "请选择"
                },
                {
                  formType: "sectionDesc",
                  label: "基本资料",
                  // endIcon:'more'
                },
                {
                  formType: "sectionDesc",
                  label: "看房介绍",
                  endIcon: 'release_icon_arrow_right@2x.png',
                  link: {
                    type: "pageModal",
                    target: "52329",
                    params: {}
                  },
                  cssStyle: "background:#FFFFFF;box-shadow: 0rem 0.03rem 0rem 0rem #E8EAED;height: 3.44rem;",
                  labelCssStyle: "font-size: 1rem;color: #252629;line-height: 1rem;"
                },
                {
                  formType: "modalOfMoreItems",
                  label: "维修项目singleSelect3",
                  // extra: "",
                  placeHolder: "请选择",
                  showLabel: true,
                  showSearchModal: false,
                  showSureBtn: false, // 不展示确定 默认要true
                  showIndex: 0, // 表示要显示第几个子项的值
                  backIcon: "back_left.png", // or "close.png"
                  showAnimation: true, // 默认false  是否显示横向动画化进入
                  subHtmlObj: [
      
                    {
                      compare: false,
                      formType: "singleSelect3",
                      hidden: false,
                      formKey: "singleSelect3",
                      rules: [
      
                      ],
                      label: "维修项目",
                      maxLength: 11,
                      placeHolder: "请填写",
                      children: [
                        {
                          label: "水电",
                          value: "11",
                          children: [
                            {
                              label: "水电材料",
                              value: "1101",
                              children: [
                                {
                                  label: "电线、电缆",
                                  value: "1101001",
                                  children: null
                                },
                                {
                                  label: "电气控制",
                                  value: "1101002",
                                  children: null
                                }]
                            },
                            {
                              label: "水电材料2",
                              value: "1102",
                              children: [
                                {
                                  label: "2电线、电缆",
                                  value: "1102001",
                                  children: null
                                },
                                {
                                  label: "2电气控制",
                                  value: "1102002",
                                  children: null
                                }]
                            },
      
      
                          ]
      
                        },
                        {
                          label: "地面",
                          value: "12",
                          children: [
                            {
                              label: "地面材料",
                              value: "1201",
      
                              children: null
                            }, {
                              label: "瓷砖",
                              value: "1201001",
                              children: null
                            },
                            {
                              label: "木地板",
                              value: "1201002",
                              children: null
                            }
                          ]
                        }
                      ]
                    },
      
                  ]
                },
                {
                  formType: "multipleInterestSelect",
                  formKey: "wq",
                  label: "",
                  placeHolder: "",
                  value: '',
                  showValue: '',
                  showCheckAll: 'false',
                  data: [
                    {
                      icon: "https://",
                      label: "房产租售",
                      value: '0',
                      check: true,
      
                    },
                    {
                      icon: "https://",
                      label: "商铺转租",
                      value: '1',
                      check: true
                    },
                    {
                      icon: "https://",
                      label: "办公租售",
                      value: '2',
                      check: true
                    },
                    {
                      icon: "https://",
                      label: "厂房租售",
                      value: '3',
                      check: false
                    },
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "switchButtonSystem",
                  label: "设置默认地址",
                  formKey: "modifyShopName1",
                  value: '1', //  默认 是
                  rules: [
                  ],
                },
                {
                  showValue: "",
                  formType: "textInput_border",
                  label: "地址门牌",
                  formKey: "code",
                  placeHolder: "请填写",
                  textType: "", // text /phone /number password 其他标准 html input type 类型
                  // extra: "获取验证码",
                  value: '',
                  leftIcon: "address",
                  valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                  // disabled: false, // 是否禁用
                  delete: false,  // 新增属性 是可以清除已有的值 删除后可以提交空值
                  // tips: "其他号码只能删除不能编辑或新增", //
                  rules: [{
                    name: 'required',
                    value: false,
                    message: ""
                  }],
      
                },
      
                {
                  formType: "serviceType",
                  label: "包含服务类",
      
                  value: '',
                  hasBorder: true,
                  placeHolder: "",
                  itemList: [
                    {
                      label: "地面",
      
      
                    },
                    {
                      label: "墙面维护",
                    },
                    {
                      label: "地面",
      
      
                    },
                    {
                      label: "墙面维护",
                    }, {
                      label: "地面",
      
      
                    },
                    {
                      label: "墙面维护",
                    }, {
                      label: "地面",
      
      
                    },
                    {
                      label: "墙面维护",
                    }, {
                      label: "地面",
      
      
                    },
                    {
                      label: "墙面维护",
                    }
                  ],
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "",
                    }
                  ]
                },
                {
                  formType: "serviceYear",
                  formKey: "mark1",
                  // label:"包含服务类",
                  cssStyle: "padding 1.25rem",
                  value: '1',
                  hasBorder: true,
                  placeHolder: "",
                  itemList: [
                    {
                      label: "服务1年",
                      value: '1',
                      valueN: '1000',
      
                    },
                    {
                      label: "服务2年",
                      value: '2',
                      valueN: '2000',
      
      
                    }, {
                      label: "服务3年",
                      value: '3',
                      valueN: '4000',
      
                    },
                  ],
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "",
                    }
                  ]
                },
                {
                  formType: "scoreFormType",
                  formKey: "mark2",
                  label: "您的评分",
                  // disabled: false,
                  value: '1',
                  hasBorder: true,
                  placeHolder: "",
                  data: [
                    {
                      label: "差",
                      value: '1',
                    },
                    {
                      label: "好",
                      value: '2',
                    }
                  ],
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "",
                    }
                  ]
                },
                {
                  formType: "sepline",
                },
                {
                  formType: "titleContentCenter",
                  cssStyle: "",
                  label: "请先设置提现密码",
                  tips: ""
                },
                {
                  showValue: "",
                  formType: "textInput",
                  label: "登录账户",
                  formKey: "otherPhone11",
                  placeHolder: "请填写",
                  textType: "number", // text /phone /number password 其他标准 html input type 类型
                  value: '',
                  valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                  // disabled: false, // 是否禁用
                  delete: false,  //
                  tips: "",
                  extra: "",
                  rules: [{
                    name: 'required',
                    value: false,
                    message: ""
                  }],
                  subHtmlObj: [
                    {
                      showValue: "",
                      formType: "textInput",
                      label: "验证码",
                      formKey: "code",
                      placeHolder: "请填写",
                      textType: "number", // text /phone /number password 其他标准 html input type 类型
                      extra: "验证码",
                      value: '',
                      valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                      // disabled: false, // 是否禁用
                      delete: false,  // 新增属性 是可以清除已有的值 删除后可以提交空值
                      tips: "", //
                      rules: [{
                        name: 'required',
                        value: false,
                        message: ""
                      }],
                      submit: {
                        isManualBinding: false,
                        doEventFirst: false,
                        isScript: false,
                        id: "64a743a9-7739-4338-b125-c7d2d5141290",
                        isDisabled: false,
                        type: "page",
                        content: {
      
                        },
                      }
                    }
                  ]
      
                },
                {
                  showValue: "NoShowSubmit", // 表示当前不是最后一步页面,不显示提交btn
                  // formType: "nextPageFomObj",
                  // showAnimation: true,// 默认false  是否显示横向动画化进入
                  // tips:'',
                  label: "下一步NoShowSubmit",
                  subHtmlObj: [
                    {
                      formType: "titleContentCenter",
                      cssStyle: "",
                      label: "设置提现密码",
                      tips: "设置6位数字"
                    },
                    {
                      showValue: "",
                      formType: "passwordType",
                      label: "",
                      formKey: "passw1",
                      placeHolder: "",
                      textType: "number", // text /phone /number password 其他标准 html input type 类型
                      value: '',
                      valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                      // disabled: false, // 是否禁用
                      delete: false,  //
                      tips: "",
                      extra: "",
                      rules: [{
                        name: 'required',
                        value: false,
                        message: ""
                      }],
      
                    },
                    {
                      showValue: "",
                      formType: "nextPageFomObj",
                      label: "下一步nextPageFomObj",
                      subHtmlObj: [
                        {
                          formType: "titleContentCenter",
                          cssStyle: "",
                          label: "确认提现密码",
                          tips: "请再输一次提现密码"
                        },
                        {
                          showValue: "",
                          formType: "passwordType",
                          label: "",
                          formKey: "pass2w",
                          placeHolder: "",
                          textType: "number", // text /phone /number password 其他标准 html input type 类型
                          value: '',
                          valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                          // disabled: false, // 是否禁用
                          delete: false,  //
                          tips: "",
                          extra: "",
                          rules: [{
                            name: 'required',
                            value: false,
                            message: ""
                          }],
      
                        },
                      ]
      
                    }
                  ]
                },
      
                {
                  showValue: "",
                  formType: "passwordType",
                  label: "",
                  formKey: "passw111",
                  placeHolder: "",
                  textType: "number", // text /phone /number password 其他标准 html input type 类型
                  value: '',
                  valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                  // disabled: false, // 是否禁用
                  delete: false,  //
                  tips: "",
                  extra: "",
                  rules: [{
                    name: 'required',
                    value: false,
                    message: ""
                  }],
                },
                {
                  formType: "checkData",
                  label: "身份证（正反面）",
                  formKey: "shenfeng",
                  value: '',
                  extra: 'identity', // 身份证
                  itemList: [
                    {
                      label: "正面照",
                      value: 'http://',
                    },
                    {
                      label: "反面照",
                      value: 'http://',
                    }
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "checkData",
                  label: "身份证（正反面）",
                  formKey: "shenfeng",
                  value: '',
                  extra: 'identity', // 身份证
                  itemList: [
                    // {
                    //   label: "正面照",
                    //   value: 'http://',
                    // },
                    // {
                    //   label: "反面照",
                    //   value: 'http://',
                    // }
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "checkData",
                  label: "资质",
                  formKey: "shenfeng",
                  value: '',
                  // extra:'identity', // 身份证
                  itemList: [
                    {
                      // label: "正面照",
                      value: 'http://',
                    },
                    {
                      // label: "反面照",
                      value: 'http://',
                    },
                    {
                      // label: "反面照",
                      value: 'http://',
                    }, {
                      // label: "反面照",
                      value: 'http://',
                    }
                    , {
                      // label: "反面照",
                      value: 'http://',
                    }
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "multipleColumnSelectTwoLine",
                  formKey: "wy",
                  label: "物业配套1111",
                  placeHolder: "multipleColumnSelectTwoLine",
                  value: '',
                  showValue: '',
                  showCheckAll: 'false', // 7.3.0 新增属性 是否展示全选
                  data: [
                    {
                      label: "全城",
                      value: '0',
                      check: true,
                      radio: true // 与其余项 互斥
                    },
                    {
                      label: "上水",
                      value: '1',
                      check: true
                    },
                    {
                      label: "下水",
                      value: '2',
                      check: true
                    },
                    {
                      label: "排烟",
                      value: '3',
                      check: false
                    },
                  ],
                  rules: [
                  ]
                },
      
                {
                  formType: "modalMultipleSelect3_Auto_Full", // 弹窗自适应完整2-3级分类多选 子项不定宽 (全屏窗)
                  label: "提供产品33",
                  formKey: "pp",
                  placeHolder: 'modalMultipleSelect3_Auto_Full',
                  value: '',
                  secondMax: 1,
                  thirdMax: 3,
                  tips: "选择的分类的相关商品都将会上架到店铺",
                  children: [
                    {
                      label: "水电",
                      value: "11",
                      children: [
                        {
                          label: "水电材料",
                          value: "1101",
                          children: [
                            {
                              label: "电线、电缆",
                              value: "1101001",
                              children: null
                            },
                            {
                              label: "电路(检修)3",
                              value: "1101003",
                              children: []
                            },
                            {
                              label: "电路(检修)4",
                              value: "1101004",
                              children: []
                            },
                            {
                              label: "电气控制",
                              value: "1101002",
                              children: null
                            }]
                        },
                        {
                          label: "水电材料2",
                          value: "1102",
                          children: [
                            {
                              label: "2电线、电缆",
                              value: "1102001",
                              children: null
                            },
                            {
                              label: "2电气控制",
                              value: "1102002",
                              children: null
                            }]
                        },
                        {
                          label: "水电材料3",
                          value: "1103",
                          children: []
                        }
                        ,
                        {
                          label: "水电材料4",
                          value: "1104",
                          children: []
                        }
                      ]
      
                    },
                    {
                      label: "地面",
                      value: "12",
                      children: [
                        {
                          label: "地面材料",
                          value: "1201",
                          children: [
                            {
                              label: "瓷砖",
                              value: "1201001",
                              children: null
                            },
                            {
                              label: "木地板",
                              value: "1201002",
                              children: null
                            }]
                        }]
                    }
                  ]
                  ,
                },
                {
                  formType: "modalMultipleSelect3_Auto", // 弹窗自适应完整2-3级分类多选 子项不定宽 (半屏窗)
                  label: "提供产品半屏",
                  formKey: "pp",
                  placeHolder: 'modalMultipleSelect3_Auto',
                  value: '',
                  tips: "选择的分类的相关商品都将会上架到店铺",
                  children: [
                    {
                      label: "水电",
                      value: "11",
                      children: [
                        {
                          label: "水电材料",
                          value: "1101",
                          children: [
                            {
                              label: "电线、电缆",
                              value: "1101001",
                              children: null
                            },
                            {
                              label: "电气控制",
                              value: "1101002",
                              children: null
                            }]
                        },
                        {
                          label: "水电材料2",
                          value: "1102",
                          children: [
                            {
                              label: "2电线、电缆",
                              value: "1102001",
                              children: null
                            },
                            {
                              label: "2电气控制",
                              value: "1102002",
                              children: null
                            }]
                        },
                        {
                          label: "水电材料3",
                          value: "1103",
                          children: []
                        }
                        ,
                        {
                          label: "水电材料4",
                          value: "1104",
                          children: []
                        }
                      ]
      
                    },
                    {
                      label: "地面",
                      value: "12",
                      children: [
                        {
                          label: "地面材料",
                          value: "1201",
                          children: [
                            {
                              label: "瓷砖",
                              value: "1201001",
                              children: null
                            },
                            {
                              label: "木地板",
                              value: "1201002",
                              children: null
                            }]
                        }]
                    },
                    {
                      label: "家电仅2级",
                      value: "13",
                      children: [
                        {
                          label: "家电",
                          value: "1301",
                          children: []
                        },
                        {
                          label: "家电1",
                          value: "1302",
                          children: []
                        },
                        {
                          label: "家电2",
                          value: "1303",
                          children: []
                        }]
                    }
                  ]
                  ,
                },
                {
                  subHtmlObj: [
                    {
                      formType: "multipleSelect3",
                      label: "选择主营建材",
                      formKey: "skill11",
      
                      value: '',
                      children: [
                        {
                          label: "水电",
                          value: "11",
                          children: [
                            {
                              label: "水电材料",
                              value: "1101",
                              children: [
                                {
                                  label: "电线、电缆",
                                  value: "1101001",
                                  children: null
                                },
                                {
                                  label: "电气控制",
                                  value: "1101002",
                                  children: null
                                }]
                            },
                            {
                              label: "水电材料2",
                              value: "1102",
                              children: [
                                {
                                  label: "2电线、电缆",
                                  value: "1102001",
                                  children: null
                                },
                                {
                                  label: "2电气控制",
                                  value: "1102002",
                                  children: null
                                }]
                            },
                            {
                              label: "水电材料3",
                              value: "1103",
                              children: []
                            }
                            ,
                            {
                              label: "水电材料4",
                              value: "1104",
                              children: []
                            }
                          ]
      
                        },
                        {
                          label: "地面",
                          value: "12",
                          children: [
                            {
                              label: "地面材料",
                              value: "1201",
                              children: [
                                {
                                  label: "瓷砖",
                                  value: "1201001",
                                  children: null
                                },
                                {
                                  label: "木地板",
                                  value: "1201002",
                                  children: null
                                }]
                            }]
                        },
                        {
                          label: "测试仅2级",
                          value: "13",
                          children: [
                            {
                              label: "测试2级1",
                              value: "1301",
                              children: [
                              ]
                            },
                            {
                              label: "测试2级2",
                              value: "1302",
                              children: [
                              ]
                            },
                            {
                              label: "测试2级3",
                              value: "1303",
                              children: [
                              ]
                            }
                          ]
                        }
                      ]
                      ,
                    },
                  ],
                  compare: false,
                  formType: "modalOfMoreItems", //
                  canEqual: false,
                  checkAll: true, // 是否显示全选
                  expression: true,
                  hidden: false,
                  showValue: '',
                  showSureBtn: true, // 不展示确定 默认要true
                  showLabel: true, // 是否显示标题
                  placeHolder: '请选择',
                  label: "选择主营建材",
                  lines: "inset",
      
                },
                {
                  subHtmlObj: [
                    {
                      formType: "multipleSelect3",
                      label: "请选择您需要代理的商品(可多选)",
                      formKey: "skill",
                      // tips: '',
                      link: {
                        type: 'modalPage ',
      
                      }, // ？
                      value: '',
                      children: [
                        {
                          label: "水电",
                          value: "11",
                          children: [
                            {
                              label: "水电材料",
                              value: "1101",
                              children: [
                                {
                                  label: "电线、电缆",
                                  value: "1101001",
                                  children: null
                                },
                                {
                                  label: "电气控制",
                                  value: "1101002",
                                  children: null
                                }]
                            },
                            {
                              label: "水电材料2",
                              value: "1102",
                              children: [
                                {
                                  label: "2电线、电缆",
                                  value: "1102001",
                                  children: null
                                },
                                {
                                  label: "2电气控制",
                                  value: "1102002",
                                  children: null
                                }]
                            },
                            {
                              label: "水电材料3",
                              value: "1103",
                              children: []
                            }
                            ,
                            {
                              label: "水电材料4",
                              value: "1104",
                              children: []
                            }
                          ]
      
                        },
                        {
                          label: "地面",
                          value: "12",
                          children: [
                            {
                              label: "地面材料",
                              value: "1201",
                              children: [
                                {
                                  label: "瓷砖",
                                  value: "1201001",
                                  children: null
                                },
                                {
                                  label: "木地板",
                                  value: "1201002",
                                  children: null
                                }]
                            }]
                        },
                        {
                          label: "测试仅2级",
                          value: "13",
                          children: [
                            {
                              label: "测试2级1",
                              value: "1301",
                              children: [
                              ]
                            },
                            {
                              label: "测试2级2",
                              value: "1302",
                              children: [
                              ]
                            },
                            {
                              label: "测试2级3",
                              value: "1303",
                              children: [
                              ]
                            }
                          ]
                        }
                      ]
                      ,
                    },
                  ],
                  compare: false,
                  formType: "editMultipleSelect",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  showValue: '',
                  showLabel: false,
                  placeHolder: '请选择',
                  label: "选择承接服务技能",
                  lines: "inset",
      
                },
                {
      
                  formType: "getCashType",
                  showValue: "6000.00",
                  value: '3580',
                  extra: "全部现金",
                  formKey: "spm1",
                  label: "提取现金",
                  cssStyle: "", //
                  tips: "可提现金额6000.00元",
                  rules: [
                    {
                      name: 'required',
                      value: true,
                      message: "请"
                    }
                  ]
                },
                {
                  formType: "selectAccount",
                  formKey: "account",
                  label: "到账账户",
                  placeHolder: "请选择",
                  value: 0,
                  showValue: '支付宝账号(hkm738)',
                  tips: '系统审核后，预计2小时到账',
                  leftIcon: 'http://icon.png',
                  // disabled: false,
                  showData: {
                    label: "支付宝账号(hkm738)",
                    icon: "1",
                    tips: "系统审核后，预计2小时到账",
                    value: 1,
      
                  },
                  data: [
                    {
                      label: "支付宝账号(hkm738)",
                      icon: "1",
                      tips: "系统审核后，预计2小时到账",
                      value: 1,
      
                    },
                    {
                      label: "微信账号(hkm738)",
                      icon: "1",
                      tips: "系统审核后，预计2小时到账",
                      value: 2,
      
                    },
                    {
                      label: "add支付宝账号",
                      icon: "",
                      tips: "",
                      value: 0,
                      link: {
                        type: 'page',
                        params: {},
                        target: '1122'
                      }
                    },
      
      
                  ],
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择"
                    }
                  ]
                },
                {
      
                  formType: "getCashType",
                  showValue: "6000.00",
                  value: '3580',
                  extra: "全部现金",
                  formKey: "spm",
                  label: "提取现金",
                  cssStyle: "", //
                  tips: "可提现金额6000.00元",
                  rules: [
                    {
                      name: 'required',
                      value: true,
                      message: "请"
                    }
                  ]
                },
                {
                  formType: "multipleSelect",
                  label: "支付成功",
                  formKey: "cailiao",
                  tips: '请选择您需要代理的商品(可多选)',
                  link: {
                    type: 'modalPage ',
      
                  }, // ？
                  value: '',
                  children: [
                    {
                      label: "水电材料",
                      value: "1101",
                      children: [
                        {
                          label: "电线、电缆",
                          value: "1101001",
                          children: null
                        },
                        {
                          label: "电气控制",
                          value: "1101002",
                          children: null
                        }]
                    },
                    {
                      label: "地面材料",
                      value: "1102",
                      children: [
                        {
                          label: "瓷砖",
                          value: "1102001",
                          children: null
                        },
                        {
                          label: "木地板",
                          value: "1102002",
                          children: null
                        }]
                    }],
      
                  rules: [
                  ]
                },
                {
                  formType: "chooseGrade",
                  label: "入驻级别",
                  formKey: "jibie",
                  value: '',
                  itemList: [
                    {
                      label: "高级",
                      unit: "3年",
                      valueN: "999",
                      check: false,
                      value: 0,
                    },
                    {
                      label: "中级",
                      value: 1,
                      unit: "2年",
                      valueN: "699",
                      check: false
                    },
                    {
                      label: "初级",
                      value: 2,
                      unit: "1年",
                      valueN: "999",
                      check: true
                    }
                  ],
                  rules: [
                  ]
                },
                {
      
                  formType: "price",
                  showValue: "￥3500",
                  value: '3500',
                  extra: "/年",
                  formKey: "sp",
                  label: "服务费用",
                  cssStyle: "", //
                  tips: "",
                },
      
                {  // 37 蜂喔商户 入驻 link
      
                  formType: "joinLink",
                  value: '',
                  formKey: "read",
                  label: "阅读",
                  cssStyle: "", //
                  tips: "《服务协议》",
                  link: {
                    type: "pageModal",
                    target: "52329",
                    params: {}
                  },
                  rules: [
      
                    {
                      name: "required",
                      message: "请勾选通用协议",
                      value: "true"
                    }
                  ]
                },
                {  // 37 蜂喔商户 入驻 link
      
                  formType: "joinLinkTwoLine",
                  value: '',
                  formKey: "read1",
                  label: "需要通知客户上传资质材料",
                  cssStyle: "", //
                  tips: "《服务协议》",
                  placeHolder: '勾选本项，审核通过后，系统会发通知给客户，客户打开进行补偿资料',
                  link: {
                    type: "pageModal",
                    target: "52329",
                    params: {}
                  },
                  rules: [
      
                    {
                      name: "required",
                      message: "请勾选通用协议",
                      value: "true"
                    }
                  ]
                },
      
                {
                  formType: "titleContent",
                  cssStyle: "font-size: 1.5rem",
                  leftIcon: ".../png",
                  label: "欢迎你入驻蜂喔",
                  link: {
                    type: "pageModal",
                    target: "52329",
                    params: {}
                  },
                },
                {
                  compare: false,
                  formType: "textInputLJOneLine",
                  hidden: false,
                  formKey: "company_name",
                  rules: [
                    {
                      name: "pattern",
                      message: "请填写正确的面积",
                      value: ".{0,50}"
                    },
                    {
                      name: "required",
                      message: "请填面积",
                      value: "true"
                    }
                  ],
                  label: "称呼我为",
                  extra: "",
                  maxLength: 3,
                  placeHolder: "请填写"
                },
                {
                  compare: false,
                  formType: "textInputLJ",
                  hidden: false,
                  formKey: "company_name2",
                  rules: [
                    {
                      name: "pattern",
                      message: "请填写正确的面积",
                      value: ".{0,50}"
                    },
                    {
                      name: "required",
                      message: "请填面积",
                      value: "true"
                    }
                  ],
                  labelCssStyle: 'font-size:1rem;font-weight: normal',
                  valueCssStyle: 'font-size:1rem;font-weight: normal',
                  label: "面积",
                  // extra: "平米",
                  maxLength: 3,
                  placeHolder: "请填写"
                },
                {
                  formType: "hintContent",
                  showValue: "",
                  cssStyle: "background: rgba(39, 196, 152, 0.05);border-radius: 0.31rem;",
                  leftIcon: ".../png",
                  label: "提示内容",
                  tips: "提示内容：111；||提示内容：222；||提示内容：333；"
                },
      
                {
                  tags: [{ label: "服务1个月", value: "2", showValue: "30", checked: true },
                  { label: "服务2个月", value: "2", showValue: "60", checked: false },
                  { label: "服务3个月", value: "2", showValue: "90", checked: false },
                  { label: "自定义", value: "2", checked: false },
                  {
                    label: "按结果", value: "1", showValue: "365", checked: true, tips: "按结果：服务到转租出或客户要求结束为止", // 商户 v1.5 新增 V1.6 移出
                  }],
                  noShowTag: 'true',
                  showLabel: true, // 默认 true
                  showValue: "",
                  formType: "textInput",
                  label: "服务天数",
                  formKey: "otherPhone1",
                  placeHolder: "请填写",
                  textType: "number", // text /phone /number password 其他标准 html input type 类型
                  extra: "天",
                  value: '30',
                  valueCssStyle: "color:#FF595E", // 输入文本的样式自定义
                  // disabled: false, // 是否禁用
                  delete: false,  // 新增属性 是可以清除已有的值 删除后可以提交空值
                  tips: "其他号码只能删除不能编辑或新增", //
                  rules: [{
                    name: 'required',
                    value: false,
                    message: ""
                  }]
                },
                {
                  formType: "departmentSelect",
                  value: "",
                  label: "部门",
                  placeHolder: "请选择",
                },
      
                {  // 38 蜂喔商户 标准报价展示
      
                  formType: "servicePrice",
                  value: "5890",
                  label: "标准报价",
                  cssStyle: "", //
                },
                // 36.1 蜂喔商户 innerBtnLast 弹窗发布，配置在最后一项 表单内部btn 提交Submit
                {
                  formType: "innerBtnLast",
                  label: "确定",
                  showValue: "generalSubmit",
                  cssStyle: "", // btn 样式
                  submit: {
      
                  }
                },
                // 36 蜂喔商户 innerBtn 服务报价 表单内部btn 提交Submit
                {
                  formType: "innerBtn",
                  label: "确定",
                  showValue: "generalSubmit",
                  cssStyle: "", // btn 样式
                  submit: {
                    isManualBinding: false,
                    doEventFirst: false,
                    isScript: false,
                    id: "64a743a9-7739-4338-b125-c7d2d5141290",
                    isDisabled: false,
                    type: "page",
                    content: {
                      opportunity_id: "5fa107c0a77068000197439b",
                      cuttab: "1",
                      isRepeat: "true",
                      customer_id: "6ce4db170fc011eab63a0242ac160002",
                      quote_way: "1",
                      eventPosition: "only"
                    },
                    key: "64a743a9-7739-4338-b125-c7d2d5141290",
                    target: "168350"
                  },
                  isScript: false,
                  checked: false,
                  isDisabled: false,
                },
                {  // 37 蜂喔商户 合同link
      
                  formType: "link",
                  value: "《预览服务协议》",
                  label: "深圳蜂喔网络科技有限公司仅提供技术支持",
                  cssStyle: "", //
                  type: "contract",
                  params: {
                    plugin_id: "1",
                    opportunity_id: "5fa107c0a77068000197439b"
                  },
                  target: "168360"
                },
                {  // 37 蜂喔发布多物业 link
      
                  formType: "postPage",
                  value: "",
                  label: "我有厂区出租",
                  cssStyle: "", //
                  type: "page",
                  params: {
                  },
                  target: "168360"
                },
                { // 小旺 7.2.0 新增表单类型 tipsMessage
                  formType: "tipsMessage",
                  label: "客户已被他人维护",
                  leftIcon: "release_icon_remind@3x.png", // 左侧小图标
                },
                { // 小旺 7.3.0 新增表单类型 tipsMessage
                  formType: "tipsItem",
                  label: "图文详情",
                  value: "图文详情请使用网页版编辑",
                  valueColor: '#FFBB33', // 提示语颜色
                },
                {
                  formType: "modalOfTextArea",
                  label: "店面描述",
                  showValue: "没啥好说的，啊哈哈",
                  // extra: '平米', // 不能与动态单位选择共存
                  subHtmlObj: [
                    {
                      formType: "textArea",
                      formKey: 'shop_des',
                      placeHolder: "请填详细店铺描述",
                      showValue: "没啥好说的，啊哈哈",
                      value: "没啥好说的，啊哈哈",
                      rules: [
                        {
                          name: 'required',
                          value: true,
                          message: "请填详细店铺描述"
                        }
                      ],
                    }]
                },
                {
      
                  formType: "modalOfLocalEdit", // 新增类型
                  label: "户型图",
                  placeHolder: "请添加",
                  showValue: '',
                  formKey: 'house_types',
                  dataType: 'preSale', // preSale 预售 houseType 户型
                  dataValue: [
                    {
                      house_type_id: '133333',
                      house_picurl: "url",
                      house_name: "户型A",
                      house_type: 0,
                      area: 100,
                      sales_status: 0,
                      main_room_type: 0,
                      suite_num: 20,
                      room_type: 3,
                      room_hall: 2,
                      room_bit: 1,
                      // 以下是 preSale 预售 字段
                      issuing_time: '',
                      bind_building: 'A 栋',
                      number: '预售证号',
                      certificate: ''
      
                    }
                  ],
                  subHtmlObj: [
                    {
                      showValue: "",
                      compare: false,
                      formType: "photoSelectWidget",
                      hidden: false,
                      formKey: "house_picurl",
                      maxSize: 1,
                      placeHolder: "上传户型图"
                    },
                    {
                      compare: false,
                      formType: "textInput",
                      hidden: false,
                      formKey: "house_name",
                      rules: [
                        {
                          name: "pattern",
                          message: "请填写正确的名称",
                          value: ".{0,50}"
                        },
                        {
                          name: "required",
                          message: "请填名称",
                          value: "true"
                        }
                      ],
                      label: "户型名称",
                      maxLength: 50,
                      placeHolder: "请填写"
                    },
                    {
                      formType: "singleColumnSelect",
                      formKey: "house_type",
                      label: "户型",
                      placeHolder: "请选择",
                      value: 0,
                      showValue: '普通住宅',
                      // disabled: false,
                      data: [
                        {
                          label: "普通住宅",
                          value: 0
                        },
                        {
                          label: "公寓",
                          value: 1
                        }, {
                          label: "别墅",
                          value: 2
                        },
                        {
                          label: "平房",
                          value: 3
                        }, {
                          label: "商住楼",
                          value: 4
                        }, {
                          label: "其他",
                          value: 5
                        },
      
                      ],
                      rules: [
                        {
                          name: 'required',
                          value: false,
                          message: "请选择房屋类型"
                        }
                      ]
                    },
                    {
                      formType: "singleColumnSelect",
                      formKey: "sales_status",
                      label: "销售状态",
                      placeHolder: "请选择",
                      value: 0,
                      showValue: '在售',
                      // disabled: false,
                      data: [
                        {
                          label: "在售",
                          value: 0
                        },
                        {
                          label: "待售",
                          value: 1
                        }
      
                      ],
                      rules: [
                        {
                          name: 'required',
                          value: false,
                          message: "请选择状态"
                        }
                      ]
                    }, {
                      formType: "singleColumnSelect",
                      formKey: "main_room_type",
                      label: "主推户型",
                      placeHolder: "请选择",
                      value: 0,
                      showValue: '是',
                      // disabled: false,
                      data: [
                        {
                          label: "是",
                          value: 0
                        },
                        {
                          label: "否",
                          value: 1
                        }
      
                      ],
                      rules: [
                        {
                          name: 'required',
                          value: false,
                          message: "请选择"
                        }
                      ]
                    }, {
                      compare: false,
                      formType: "textInput",
                      digit: '0', // 默认0 小数点后位数设置
                      hidden: false,
                      extra: '套',
                      formKey: "suite_num",
                      rules: [
                        {
                          name: "pattern",
                          message: "请填写正确套数",
                          value: ".{0,50}"
                        },
                        {
                          name: "required",
                          message: "请填",
                          value: "true"
                        }
                      ],
                      label: "套数",
                      maxLength: 20,
                      placeHolder: "请填写"
                    },
                    {
                      subHtmlObj: [
                        {
                          compare: false,
                          formType: "columSelect",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          data: [
                            {
                              dataStr: false,
                              isScript: false,
                              isArray: true,
                              isDisabled: false,
                              label: "1室",
                              isMajorPic: false,
                              value: "1"
                            },
                            {
                              dataStr: false,
                              isScript: false,
                              isArray: true,
                              isDisabled: false,
                              label: "2室",
                              isMajorPic: false,
                              value: "2"
                            },
                            {
                              dataStr: false,
                              isScript: false,
                              isArray: true,
                              isDisabled: false,
                              label: "3室",
                              isMajorPic: false,
                              value: "3"
                            }
                          ],
                          hidden: false,
                          formKey: "room_type",
                          value: "2"
                        },
                        {
                          compare: false,
                          formType: "columSelect",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          data: [
                            {
                              dataStr: false,
                              isScript: false,
                              isArray: true,
                              isDisabled: false,
                              label: "1厅",
                              isMajorPic: false,
                              value: "1"
                            },
                            {
                              dataStr: false,
                              isScript: false,
                              isArray: true,
                              isDisabled: false,
                              label: "2厅",
                              isMajorPic: false,
                              value: "2"
                            },
                            {
                              dataStr: false,
                              isScript: false,
                              isArray: true,
                              isDisabled: false,
                              label: "3厅",
                              isMajorPic: false,
                              value: "3"
                            }
                          ],
                          hidden: false,
                          formKey: "room_hall",
                          value: "3"
                        },
                        {
                          compare: false,
                          formType: "columSelect",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          data: [
                            {
                              dataStr: false,
                              isScript: false,
                              isArray: true,
                              isDisabled: false,
                              label: "1卫",
                              isMajorPic: false,
                              value: "1"
                            },
                            {
                              dataStr: false,
                              isScript: false,
                              isArray: true,
                              isDisabled: false,
                              label: "2卫",
                              isMajorPic: false,
                              value: "2"
                            },
                            {
                              dataStr: false,
                              isScript: false,
                              isArray: true,
                              isDisabled: false,
                              label: "3卫",
                              isMajorPic: false,
                              value: "3"
                            }
                          ],
                          hidden: false,
                          formKey: "room_bit",
                          value: "2"
                        }
                      ],
                      compare: false,
                      formType: "modalMultipleFormKeySelect",
                      showValue: "2室3厅2卫",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      label: "房型",
                      value: "0",
                      placeHolder: "请选择",
                      multiSelect: true
                    }
                  ]
                },
                {
                  formType: "modalOfMoreItems",
                  label: "小区仅搜索",
                  placeHolder: "请选择",
                  showSearchModal: true,
                  hasAddNew: false, // 默认 true， 表示可以新增
                  showIndex: 0, // 表示要显示第几个子项的值
                  subHtmlObj: [
      
                    {
                      compare: false,
                      formType: "textInput",
                      hidden: false,
                      formKey: "name",
                      rules: [
                        {
                          name: "pattern",
                          message: "请填写正确小区名称",
                          value: ".{0,50}"
                        },
                        {
                          name: "required",
                          message: "请填写小区名称",
                          value: "true"
                        }
                      ],
                      label: "小区名称",
                      maxLength: 50,
                      placeHolder: "请填写"
                    }, {
                      subHtmlObj: [
                        {
                          compare: false,
                          formType: "citySelect",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          // submit: {
                          //   isManualBinding: false,
                          //   doEventFirst: false,
                          //   isScript: false,
                          //   id: "d7545c0d-f3a7-4232-8317-5c70533bb368",
                          //   isDisabled: false,
                          //   key: "d7545c0d-f3a7-4232-8317-5c70533bb368"
                          // },
                          formKey: "city_id",
                          link: {
                            dataStr: false,
                            isScript: false,
                            isArray: true,
                            isDisabled: false,
                            isMajorPic: false,
                            type: "modal",
                            target: "52329"
                          },
                          label: "城市",
                          subHtmlObj: [
                            {
                              compare: false,
                              formType: "pickerSelect",
                              canEqual: false,
                              checkAll: false,
                              expression: true,
                              hidden: false,
                              formKey: "district_id",
      
                              rules: [
                                {
                                  name: "required",
                                  message: "请选择区域",
                                  value: "false"
                                }
                              ],
                              label: "区域",
                              placeHolder: "请选择"
                            }
                          ],
                          appType: "LJ",
                          placeHolder: "请选择"
                        },
                        {
                          subHtmlObj: [
                            {
                              compare: false,
                              formType: "detailAddress_location",
                              canEqual: false,
                              checkAll: false,
                              expression: true,
                              hidden: false,
                              formKey: "location",
                              appType: "LJ",
                              rules: [
                                {
                                  name: "required",
                                  message: "请选择详细地址",
                                  value: "false"
                                }
                              ]
                            }
                          ],
                          compare: false,
                          formType: "detailAddress",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          formKey: "address",
                          appType: "LJ",
                          label: "详细地址",
                          placeHolder: "请设置地址"
                        },
                      ],
                      compare: false,
                      formType: "selectAddressWidget",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      hidden: false,
                      formKey: "Daddress",
                      appType: "LJ",
                      rules: [
                        {
                          name: "required",
                          message: "请设置地址",
                          value: "false"
                        }
                      ],
                      label: "我的店铺在",
                      placeHolder: "请填写"
                    }
                  ]
                },
                {
                  formType: "modalOfMoreItems",
                  label: "登录账号",
                  extra: "更换",
                  placeHolder: "请选择",
                  showSearchModal: true,
                  showIndex: 0, // 表示要显示第几个子项的值
                  subHtmlObj: [
      
                    {
                      compare: false,
                      formType: "textInput",
                      hidden: false,
                      formKey: "mobile11",
                      rules: [
                        {
                          name: "pattern",
                          message: "请填写正确手机号",
                          value: ".{11}"
                        },
                        {
                          name: "required",
                          message: "请填写手机号码",
                          value: "true"
                        }
                      ],
                      label: "账号",
                      maxLength: 11,
                      placeHolder: "请填写"
                    },
      
                  ]
                },
                {
                  formType: "modalOfMoreItems",
                  label: "新邀请者",
                  extra: "",
                  placeHolder: "请选择",
                  showSearchModal: true,
                  formKey: "yaoqing",
                  value: ''
                },
                {
                  formType: "modalOfMoreItems",
                  label: "新直营管家",
                  extra: "",
                  placeHolder: "请选择",
                  showSearchModal: true,
                  formKey: "newGj",
                  value: ''
                },
                {
                  formType: "descInfo",
                  label: "说明：变更邀请者，不会影响已产生的分单、发展成员奖  励。",
                },
                {
                  formType: "modalOfMoreItems", // 新增类型
                  label: "公司认证",
                  placeHolder: "填写公司信息",
                  showIndex: 0, // 表示要显示第几个子项的值
                  subHtmlObj: [
                    {
                      showValue: "logo",
                      compare: false,
                      formType: "photoSelectWidget",
                      hidden: false,
                      delete: true,
                      cssStyle: "border: 0.03rem solid #EDEDED;",
                      formKey: "company_certificate_picurl",
                      maxSize: 10,
                      placeHolder: "上传公司证件(选填)"
                    },
                    {
                      compare: false,
                      formType: "textInput",
                      hidden: false,
                      formKey: "company_name3",
                      rules: [
                        {
                          name: "pattern",
                          message: "请填写正确的公司名称",
                          value: ".{0,50}"
                        },
                        {
                          name: "required",
                          message: "请填写公司名称",
                          value: "true"
                        }
                      ],
                      label: "公司名称",
                      maxLength: 50,
                      placeHolder: "请填写"
                    },
                  ]
                },
      
                {
                  formType: "areaSlot",
                  label: "服务价格(元/台)",
                  compare: true,
                  lessTip: "", //  最大值小于最小值时提示
                  equalTip: "", // 最大值等于最小值时提示
                  // extra: '平米', // 不能与动态单位选择共存
                  canEqual: true, // 是否可以相等
                  sepCssStyle: "width: 0.38rem;height: 0.06rem;background: #222222;margin:0 0.25rem",
                  labelCssStyle: "",
                  placeholderCssStyle: "width: 5.25rem;height: 2rem;background: rgba(247, 248, 250, 1);border-radius: 0.78rem;font-size: 1rem;color: rgba(39, 40, 46, 1);line-height: 1.25rem;margin-right: 0rem;text-align:center",
                  subHtmlObj: [
                    {
                      formType: "area",
                      formKey: 'min_area',
                      placeHolder: "最小",
                      value: "",
                      beforeTxt: "第",
                      afterTxt: "层",
                      rules: [
                        {
                          name: 'required',
                          value: true,
                          message: "请填写最小面积"
                        }
                      ],
                    },
                    {
                      formType: "area",
                      formKey: 'max_area',
                      placeHolder: "最大",
                      beforeTxt: "第",
                      afterTxt: "层",
                      value: "",
                      rules: [
                        {
                          name: 'required',
                          value: true,
                          message: "填写最大面积"
                        }
                      ]
                    },
                    { //  注意顺序
                      formType: "singleColumnSelect",
                      formKey: 'rent_uint',
                      value: 1,
                      showValue: '元/月',
                      data: [
                        {
                          type: 'value',
                          label: "元/月",
                          value: 1
                        },
                        {
                          type: 'value',
                          label: "元/天",
                          value: 2
                        },
                        {
                          type: 'value',
                          label: "元/年",
                          value: 3
                        }
                      ],
                      rules: [{
                        name: 'required',
                        value: true,
                        message: "请选择租金单位"
                      }]
                    }
                  ]
                },
                {
                  formType: "timeSlot",
                  label: "营业时段",
                  compare: false,
                  lessTip: "", //  最大值小于最小值时提示
                  equalTip: "", // 最大值等于最小值时提示
                  subHtmlObj: [
                    {
                      formType: "time",
                      formKey: 'operate_begin_time',
                      value: "",
                      showValue: '',
                      rules: [
                        {
                          name: 'required',
                          value: true,
                          message: "设置开始时间"
                        }
                      ],
                    },
                    {
                      formType: "time",
                      formKey: 'operate_end_time',
                      value: "",
                      showValue: '',
                      rules: [
                        {
                          name: 'required',
                          value: true,
                          message: "设置开始时间"
                        }
                      ]
                    }
                  ]
                },
                {
                  formType: "textInput",
                  formKey: "rent",
                  label: "租金",
                  placeHolder: "请填写",
                  value: "",
                  textType: 'number',
                  rules: [
                    {
                      name: 'required',
                      value: true,
                      message: "请填写租金"
                    }
                  ],
                  subHtmlObj: [
                    {
                      formType: "singleColumnSelect",
                      formKey: 'rent_uint',
                      value: 1,
                      showValue: '元/月',
                      data: [
                        {
                          type: 'value',
                          label: "元/月",
                          value: 1
                        },
                        {
                          type: 'value',
                          label: "元/天",
                          value: 2
                        },
                        {
                          type: 'value',
                          label: "元/年",
                          value: 3
                        }
                      ],
                      rules: [{
                        name: 'required',
                        value: true,
                        message: "请选择租金单位"
                      }]
                    }
                  ]
                },
                {  // 编辑更多物业信息
                  formType: "modalEditMoreInfo",
                  tips: "编辑更多物业信息",
                  label: "物业信息",
                  rules: [
                  ],
                  subHtmlObj: [
                    {
                      formType: "photoSelectWidget",
                      formKey: 'photos_contract',
                      maxSize: 8, // 最多设置8张
                      placeHolder: "添加备注图片(最多8张）",
                      lable: "合同凭证",
                      tips: '视频：请通过PC员工后台上传案例视频',
                      value: '',
                      rules: [{
                        name: 'required',
                        value: true,
                        message: "请选择图片"
                      }]
                    },
                    {
                      formType: "textInput",
                      formKey: "rent1",
                      label: "租金",
                      textType: 'text',
                      placeHolder: "请填写",
                      value: "",
                      rules: [
                        {
                          name: 'required',
                          value: true,
                          message: "请填写租金"
                        }
                      ],
                    }, {
      
                      formType: "modalOfLocalEdit", // 新增类型
                      label: "户型图",
                      placeHolder: "请添加",
                      showValue: '',
                      formKey: 'house_types',
                      dataType: 'houseType', // preSale 预售 houseType 户型
                      dataValue: [
                        {
                          house_type_id: '133333',
                          house_picurl: "url",
                          house_name: "户型A",
                          house_type: 0,
                          area: 100,
                          sales_status: 0,
                          main_room_type: 0,
                          suite_num: 20,
                          room_type: 3,
                          room_hall: 2,
                          room_bit: 1,
                          // 以下是 preSale 预售 字段
                          issuing_time: '',
                          bind_building: 'A 栋',
                          number: '预售证号',
                          certificate: ''
      
                        }
                      ],
                      subHtmlObj: [
                        {
                          showValue: "",
                          compare: false,
                          formType: "photoSelectWidget",
                          hidden: false,
                          formKey: "house_picurl",
                          maxSize: 1,
                          placeHolder: "上传户型图"
                        },
                        {
                          compare: false,
                          formType: "textInput",
                          hidden: false,
                          formKey: "house_name",
                          rules: [
                            {
                              name: "pattern",
                              message: "请填写正确的名称",
                              value: ".{0,50}"
                            },
                            {
                              name: "required",
                              message: "请填名称",
                              value: "true"
                            }
                          ],
                          label: "户型名称",
                          maxLength: 50,
                          placeHolder: "请填写"
                        },
                        {
                          formType: "singleColumnSelect",
                          formKey: "house_type",
                          label: "户型",
                          placeHolder: "请选择",
                          value: 0,
                          showValue: '普通住宅',
                          // disabled: false,
                          data: [
                            {
                              label: "普通住宅",
                              value: 0
                            },
                            {
                              label: "公寓",
                              value: 1
                            }, {
                              label: "别墅",
                              value: 2
                            },
                            {
                              label: "平房",
                              value: 3
                            }, {
                              label: "商住楼",
                              value: 4
                            }, {
                              label: "其他",
                              value: 5
                            },
      
                          ],
                          rules: [
                            {
                              name: 'required',
                              value: false,
                              message: "请选择房屋类型"
                            }
                          ]
                        }, {
                          compare: false,
                          formType: "textInput",
                          hidden: false,
                          extra: '平米',
                          formKey: "area",
                          rules: [
                            {
                              name: "pattern",
                              message: "请填写正确的面积",
                              value: ".{0,50}"
                            },
                            {
                              name: "required",
                              message: "请填面积",
                              value: "true"
                            }
                          ],
                          label: "面积",
                          maxLength: 20,
                          placeHolder: "请填写"
                        },
                        {
                          formType: "singleColumnSelect",
                          formKey: "sales_status",
                          label: "销售状态",
                          placeHolder: "请选择",
                          value: 0,
                          showValue: '在售',
                          // disabled: false,
                          data: [
                            {
                              label: "在售",
                              value: 0
                            },
                            {
                              label: "待售",
                              value: 1
                            }
      
                          ],
                          rules: [
                            {
                              name: 'required',
                              value: false,
                              message: "请选择状态"
                            }
                          ]
                        }, {
                          formType: "singleColumnSelect",
                          formKey: "main_room_type",
                          label: "主推户型",
                          placeHolder: "请选择",
                          value: 0,
                          showValue: '是',
                          // disabled: false,
                          data: [
                            {
                              label: "是",
                              value: 0
                            },
                            {
                              label: "否",
                              value: 1
                            }
      
                          ],
                          rules: [
                            {
                              name: 'required',
                              value: false,
                              message: "请选择"
                            }
                          ]
                        }, {
                          compare: false,
                          formType: "textInput",
                          hidden: false,
                          extra: '套',
                          formKey: "suite_num",
                          rules: [
                            {
                              name: "pattern",
                              message: "请填写正确套数",
                              value: ".{0,50}"
                            },
                            {
                              name: "required",
                              message: "请填",
                              value: "true"
                            }
                          ],
                          label: "套数",
                          maxLength: 20,
                          placeHolder: "请填写"
                        }, {
                          subHtmlObj: [
                            {
                              compare: false,
                              formType: "columSelect",
                              canEqual: false,
                              checkAll: false,
                              expression: true,
                              data: [
                                {
                                  dataStr: false,
                                  isScript: false,
                                  isArray: true,
                                  isDisabled: false,
                                  label: "1室",
                                  isMajorPic: false,
                                  value: "1"
                                },
                                {
                                  dataStr: false,
                                  isScript: false,
                                  isArray: true,
                                  isDisabled: false,
                                  label: "2室",
                                  isMajorPic: false,
                                  value: "2"
                                },
                                {
                                  dataStr: false,
                                  isScript: false,
                                  isArray: true,
                                  isDisabled: false,
                                  label: "3室",
                                  isMajorPic: false,
                                  value: "3"
                                }
                              ],
                              hidden: false,
                              formKey: "room_type",
                              value: "2"
                            },
                            {
                              compare: false,
                              formType: "columSelect",
                              canEqual: false,
                              checkAll: false,
                              expression: true,
                              data: [
                                {
                                  dataStr: false,
                                  isScript: false,
                                  isArray: true,
                                  isDisabled: false,
                                  label: "1厅",
                                  isMajorPic: false,
                                  value: "1"
                                },
                                {
                                  dataStr: false,
                                  isScript: false,
                                  isArray: true,
                                  isDisabled: false,
                                  label: "2厅",
                                  isMajorPic: false,
                                  value: "2"
                                },
                                {
                                  dataStr: false,
                                  isScript: false,
                                  isArray: true,
                                  isDisabled: false,
                                  label: "3厅",
                                  isMajorPic: false,
                                  value: "3"
                                }
                              ],
                              hidden: false,
                              formKey: "room_hall",
                              value: "3"
                            },
                            {
                              compare: false,
                              formType: "columSelect",
                              canEqual: false,
                              checkAll: false,
                              expression: true,
                              data: [
                                {
                                  dataStr: false,
                                  isScript: false,
                                  isArray: true,
                                  isDisabled: false,
                                  label: "1卫",
                                  isMajorPic: false,
                                  value: "1"
                                },
                                {
                                  dataStr: false,
                                  isScript: false,
                                  isArray: true,
                                  isDisabled: false,
                                  label: "2卫",
                                  isMajorPic: false,
                                  value: "2"
                                },
                                {
                                  dataStr: false,
                                  isScript: false,
                                  isArray: true,
                                  isDisabled: false,
                                  label: "3卫",
                                  isMajorPic: false,
                                  value: "3"
                                }
                              ],
                              hidden: false,
                              formKey: "room_bit",
                              value: "2"
                            }
                          ],
                          compare: false,
                          formType: "modalMultipleFormKeySelect",
                          showValue: "2室3厅2卫",
                          canEqual: false,
                          checkAll: false,
                          expression: true,
                          hidden: false,
                          label: "房型",
                          value: "0",
                          placeHolder: "请选择",
                          multiSelect: true
                        }
                      ]
                    },
                  ]
                },
                {
                  formType: "addReleasePhoto",
                  formKey: "opportunity__picurl",
                  label: "添加照片",
                  maxSize: 10,
                  value: "", // ; 拼接url
                  rules: [{
                    name: 'required',
                    value: true,
                    message: "请选择图片"
                  }
                  ],
                },
                {
                  formType: "addReleasePhoto",
                  formKey: "opportunity__picurl_1",
                  label: "",
                  cropperRatio:  2.7, // 宽比高 比例值
                  allowCropper: true, // 开启裁剪
                  cssStyle: "height: 8.25rem;background: #F5F5F5;border-radius: 0.5rem;width:calc(100vw - 2.25rem);margin:0 1.25rem",
                  placeHolder: "尺寸:355px*132px",
                  placeholderCssStyle: 'font-size: 0.75rem;color: #999999;line-height: 1.06rem;margin-top:0.5rem;padding-top:0',
                  extra: '点击上传图片',
                  extraCssStyle: 'font-size: 0.88rem;font-weight:blod;color: #222222;line-height: 1.06rem;padding-top:0.5rem',
                  leftIconCssStyle: "width:2rem;height:2rem;margin-top:1.56rem",
                  leftIcon: '../../../assets/icon/choose-img.png',
                  maxSize: 1,
                  value: "", // ; 拼接url
                  rules: [{
                    name: 'required',
                    value: true,
                    message: "请选择图片"
                  }
                  ],
                },
                {
                  formType: "photoSelectWidget",
                  formKey: 'photos_contract',
                  maxSize: 8, // 最多设置8张
                  placeHolder: "添加备注图片(最多8张）",
                  tips: '视频：请通过PC员工后台上传案例视频',
                  value: 'htt',
                  showValue: "<span style='font-size: 1rem;font-weight: bold;color: #252629;line-height: 1.31rem;'>上传凭证<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span><span style='font-size: 0.75rem;'>限8张</span></span>", // 当标题用
                  delete: true, // 显示del
                  cssStyle: "background:white;height: 4.95rem;width: 4.5rem;padding-top:0.8rem", // 图片外框样式
                  valueCssStyle: 'height: 4.5rem;width: 4.5rem;border: 0.03rem solid #EDEDED;border-radius: 0.5rem;background: white;display: flex;justify-content: center;align-items: center;', // 图片样式
                  // disabled: true,
                  leftIconCssStyle: "width:2.5rem;height:2.5rem;",
                  leftIcon: '../../../assets/icon/choose-img.png',
                  rules: [{
                    name: 'required',
                    value: true,
                    message: "请选择图片"
                  }]
                },
                {
                  label: "公司<br>LOGO",
                  formType: "photoSelectWidget",
                  formKey: 'photos_logo',
                  maxSize: 1, // 最多设置1张
                  placeHolder: "最多1张",
                  value: '',
                  extra: '添加图片',
                  rules: [{
                    name: 'required',
                    value: true,
                    message: "请选择图片"
                  }]
                },
                {
                  compare: false,
                  formType: "showSingleSelect",
                  canEqual: false,
                  hidden: false,
                  multiSelect: true, // 默认 false
                  formKey: "send_sms",
                  link: {
                    dataStr: false,
                    isScript: false,
                    icon: "icon_help_notes@3x.png",
                    isArray: true,
                    isDisabled: false,
                    label: "短信模板",
                    isMajorPic: false,
                    params: {
                      statistic_achievement_employee_city_id: "1101"
                    },
                    type: "modal",
                    target: "158743"
                  },
                  subHtmlObj: [
                    {
                      formType: "textInput",
                      formKey: 'photos_cact',
                      showCondition: "1,2",
                      placeHolder: "输入",
                      lable: "直营店名称",
      
                      value: '',
                      rules: [{
                        name: 'required',
                        value: true,
                        message: "请选择图片"
                      }]
                    }],
                  itemList: [
                    {
                      dataStr: false,
                      isScript: false,
                      isArray: true,
                      check: false,
                      isDisabled: false,
                      label: "不发送",
                      isMajorPic: false,
                      value: "1"
                    },
                    {
                      dataStr: false,
                      isScript: false,
                      isArray: true,
                      check: false,
                      isDisabled: false,
                      label: "发送",
                      isMajorPic: false,
                      value: "2"
                    }
                  ],
                  label: "发送确认成交短信多选测试",
                  value: "",
                  placeHolder: "请选择"
                },
                {
                  formType: "showSingleSelect",
                  formKey: "inform",
                  label: "请选择举报原因",
                  value: "",
                  itemList: [
                    {
                      label: "人工推荐成功",
                      value: "人工推荐成功",
                      check: false,
                      formObj: [ //  新增 在选项中增加表单项目
                        {
                          formType: "textInput",
                          label: "",
                          formKey: "name",
                          placeHolder: "请输入姓名",
                          textType: "text", //
                          value: '',
                          // disabled: false, // 是否禁用
                          delete: false,  // 属性 是可以清除已有的值 删除后可以提交空值
                          tips: "", // 提示
                          rules: [{
                            name: 'required',
                            value: false,
                            message: ""
                          }]
                        },
                        {
                          formType: "textInput",
                          label: "",
                          formKey: "name",
                          placeHolder: "请输入客户号码",
                          textType: "text", //
                          value: '',
                          // disabled: false, // 是否禁用
                          delete: false,  // 属性 是可以清除已有的值 删除后可以提交空值
                          tips: "", // 提示
                          rules: [{
                            name: 'required',
                            value: false,
                            message: ""
                          }]
                        },
                      ]
                    },
                    {
                      label: "手机号有误联系不上",
                      value: "手机号有误联系不上",
                      check: false
                    },
                  ],
                  rules: [
                  ],
                },
                {
                  formType: "grayItem",
                },
                {
                  formType: "contractSelectWidget",
                  formKey: "pageContract",
                  label: "合同凭证",
                  tips: "纸质合同",
                  value: "true", // 不能设置''  要么就不返回
                  rules: [
                  ],
                  subHtmlObj: [
                    {
                      formType: "photoSelectWidget",
                      formKey: 'photos_contract',
                      maxSize: 8, // 最多设置8张
                      placeHolder: "添加备注图片(最多8张）",
                      lable: "合同凭证",
                      tips: '视频：请通过PC员工后台上传案例视频',
                      value: '',
                      rules: [{
                        name: 'required',
                        value: true,
                        message: "请选择图片"
                      }]
                    },
                    {
                      formType: "textInput",
                      formKey: "pageContractNo",
                      label: "合同编号",
                      textType: 'number',
                      placeHolder: "选填",
                      value: "", // true or false
                      rules: [
                      ],
                    },
                  ]
                },
      
                {
                  formType: "pickerSelectLJ", // 同原 pickerSelect配置 加后缀  LJ 表示蜂喔发布用
                  formKey: "industry_s",
                  placeHolder: "请选择",
                  label: "pickerSelectLJ行业",
                  value: "", // , 拼接id
                  delete: true, // 增加 是否显示删除
                  leftIcon: "address",
                  data: [{
                    label: "餐饮美食",
                    value: "11",
                    children: [
                      {
                        label: "餐饮美食01",
                        value: "1101",
                        children: null
                      },
                      {
                        label: "餐饮美食02",
                        value: "1102",
                        children: null
                      }]
                  },
                  {
                    label: "餐饮美食1",
                    value: "12",
                    children: [
                      {
                        label: "餐饮美食2",
                        value: "1202",
                        children: null
                      }]
                  }],
      
                  rules: [
                  ],
                },
                {
                  formType: "pickerSelect",
                  formKey: "district_s",
                  placeHolder: "pickerSelect",
                  label: "区域单选",
                  value: "", // , 拼接id
                  data: [{
                    label: "罗湖区",
                    value: "440303",
                    children: [
                      {
                        label: "蔡屋围",
                        value: "44030301",
                        children: null
                      },
                      {
                        label: "国贸",
                        value: "44030302",
                        children: null
      
                      }]
                  },
                  {
                    label: "福田区",
                    value: "440304",
                    children: [
                      {
                        label: "上啥",
                        value: "44030401",
                        children: null
                      },
                      {
                        label: "下沙",
                        value: "44030403",
                        children: null
                      }]
                  }],
      
                  rules: [
                  ],
                  subHtmlObj: [{
                    formType: "multipleColumnSelect",
                    formKey: "wy",
                    label: "物业配套1111",
                    placeHolder: "选填",
                    value: '',
                    showValue: '',
                    showCheckAll: 'true', // 7.3.0 新增属性 是否展示全选
                    data: [
                      {
                        label: "可明火",
                        value: '0',
                        check: true,
                        radio: true
                      },
                      {
                        label: "上水",
                        value: '1',
                        check: true
                      },
                      {
                        label: "下水",
                        value: '2',
                        check: true
                      },
                      {
                        label: "排烟",
                        value: '3',
                        check: false
                      },
                    ],
                    rules: [
                    ]
                  }],
                },
                {
                  formType: "modalMultipleSelect",
                  placeHolder: "modalMultipleSelect大小行业",
                  formKey: "industry_m",
                  label: "行业",
                  value: "", // , 拼接id
                  data: [{
                    label: "餐饮美食",
                    value: "11",
                    children: [
                      {
                        label: "全餐饮美食",
                        value: "11",
                        children: null
                      },
                      {
                        label: "餐饮美食01",
                        value: "1101",
                        children: null
                      },
                      {
                        label: "餐饮美食02",
                        value: "1102",
                        children: null
                      }]
                  },
                  {
                    label: "餐饮美食1",
                    value: "12",
                    children: [
                      {
                        label: "全餐饮美食1",
                        value: "12",
                        children: null
                      }, {
                        label: "餐饮美食2",
                        value: "1202",
                        children: null
                      }]
                  }],
      
                  rules: [
                  ],
                },
                {
                  formType: "modalMultipleSelectLJ",
                  placeHolder: "modalMultipleSelectLJ",
                  formKey: "industry_m",
                  label: "行业LJ",
                  labelCssStyle: '',
                  value: "", // , 拼接id
                  maxSize: 1, // 大行业只能选一个
                  data: [{
                    label: "餐饮美食",
                    value: "11",
                    children: [
                      {
                        label: "全餐饮美食",
                        value: "11",
                        children: null
                      },
                      {
                        label: "餐饮美食01",
                        value: "1101",
                        children: null
                      },
                      {
                        label: "餐饮美食02",
                        value: "1102",
                        children: null
                      }]
                  },
                  {
                    label: "餐饮美食1",
                    value: "12",
                    children: [
                      {
                        label: "全餐饮美食1",
                        value: "12",
                        children: null
                      }, {
                        label: "餐饮美食2",
                        value: "1202",
                        children: null
                      }]
                  }],
      
                  rules: [
                  ],
                },
                {
                  formType: "modalMultipleSelect",
                  formKey: "district_m",
                  placeHolder: "请选择大小区域多选",
                  label: "区域多选",
                  value: "", // , 拼接id
                  data: [{
                    label: "罗湖区",
                    value: "440303",
                    children: [
                      {
                        label: "全罗湖区",
                        value: "440303",
                        children: null
                      },
                      {
                        label: "蔡屋围",
                        value: "44030301",
                        children: null
                      },
                      {
                        label: "国贸",
                        value: "44030302",
                        children: null
      
                      }]
                  },
                  {
                    label: "福田区",
                    value: "440304",
                    children: [
                      {
                        label: "全福田区",
                        value: "440304",
                        children: null
                      },
                      {
                        label: "上啥",
                        value: "44030401",
                        children: null
                      },
                      {
                        label: "下沙",
                        value: "44030403",
                        children: null
                      }]
                  }],
      
                  rules: [
                  ],
                },
      
                {
                  formType: "releaseTypeWidget",
                  formKey: "releaseType",
                  value: "",
                  itemList: [ // 一定是配的，穷举可穷尽的就用itemList
                    {
                      label: "转让",
                      value: 0,
                      check: false
                    },
                    {
                      label: "出租",
                      value: 1,
                      check: false
                    },
                    {
                      label: "选址",
                      value: 2,
                      check: false
                    },
                    {
                      label: "店铺",
                      value: 3,
                      check: false
                    },
                  ],
                  rules: [
                    {
                      name: 'required',
                      value: true,
                      message: "请选择发布类型"
                    }
                  ]
                },
                {
                  formType: "textInput",
                  formKey: "release_phone",
                  label: '',
                  endIcon: '../../../assets/icon/release_icon_contact@3x.png',
                  placeHolder: "请填写客户号码",
                  value: "", // true or false
                  rules: [
                    {
                      name: 'required',
                      value: true,
                      message: "请输入手机号码"
                    },
                    {
                      name: 'pattern',
                      value: "[1][3,4,5,6,7,8,9][0-9]{9}",
                      message: "请输入正确的手机号码"
                    },
                  ],
                },
                {
                  formType: "quickRelease",
                  formKey: "quickRelease",
                  label: "快速发布",
                  value: 'false',
                  rules: [
                  ],
                },
                {
                  formType: "checkBox",
                  formKey: "choose",
                  label: "撮合议价，协助成交",
                  showValue: "500元",
                  tips: "人工服务",
                  value: '0',
                  rules: [
                  ],
                },
                {
                  formType: "multipleListCheckbox",
                  formKey: "choosePerson1",
                  label: "面谈人员",
                  value: '',
                  showValue: '',
                  data: [
                    {
                      label: "深圳王",
                      value: 1, // userId ？
                      tagLabel: '深圳总部',
                      phone: '1357999999',
                      otherPhone: '1357999999',
                      check: false
                    },
                    {
                      label: "深圳王",
                      value: 2, // userId ？
                      tagLabel: '深圳总部',
                      phone: '1357999999',
                      check: false
                    },
                    {
                      label: "深圳王",
                      value: 3, // userId ？
                      tagLabel: '深圳总部',
                      phone: '1357999999',
                      check: true
                    },
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "singleListCheckbox",
                  formKey: "choosePerson1",
                  label: "面谈人员",
                  value: '',
                  showValue: '',
                  data: [
                    {
                      label: "深圳王",
                      value: 0, // userId ？
                      tagLabel: '深圳总部',
                      otherPhone: '1357999999',
                      phone: '1357999999'
                    },
                    {
                      label: "深圳王",
                      value: 0, // userId ？
                      tagLabel: '深圳总部',
                      phone: '1357999999'
                    },
                    {
                      label: "深圳王",
                      value: 0, // userId ？
                      tagLabel: '深圳总部',
                      phone: '1357999999'
                    },
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "multipleColumnSelectLJ",
                  formKey: "wy",
                  label: "物业配套",
                  placeHolder: "multipleColumnSelect中弹窗",
                  value: '',
                  showValue: '',
                  showCheckAll: 'true', // 7.3.0 新增属性 是否展示全选
                  data: [
                    {
                      label: "可明火",
                      value: '0',
                      check: true
                    },
                    {
                      label: "上水",
                      value: '1',
                      check: true
                    },
                    {
                      label: "下水",
                      value: '2',
                      check: true
                    },
                    {
                      label: "排烟",
                      value: '3',
                      check: false
                    },
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "multipleColumnSelect",
                  formKey: "wy",
                  label: "物业配套",
                  placeHolder: "中弹窗可以全选",
                  value: '',
                  showValue: '',
                  showCheckAll: 'true', // 7.3.0 新增属性 是否展示全选
                  data: [
                    {
                      label: "可明火",
                      value: '0',
                      check: true
                    },
                    {
                      label: "上水",
                      value: '1',
                      check: true
                    },
                    {
                      label: "下水",
                      value: '2',
                      check: true
                    },
                    {
                      label: "排烟",
                      value: '3',
                      check: false
                    },
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "singleColumnSelect",
                  formKey: "choosePerson",
                  label: "面谈人员",
                  placeHolder: "选填",
                  value: '',
                  showValue: '',
                  data: [
                    // {
                    //   type: 'value',
                    //   label: "我",
                    //   value: 0  // userId ？
                    // },
                    {
                      type: 'modal',
                      label: "选择面谈人员",
                      modal: { display: {}, esTable: {}, research: { value: 'keyword' } },
                      submit: {
                        id: "serviceBuy",
                        type: "modal",
                      }
                    }
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "singleColumnSelect",
                  formKey: "talk-way",
                  label: "职称<span style='vertical-align:super;font-size: 0.69rem;color: #FF3A33;'>*</span>",
                  placeHolder: "请选择",
                  value: '',
                  showValue: '',
                  // disabled: true,
                  data: [
                    {
                      label: "已上门洽谈",
                      value: 0
                    },
                    {
                      label: "已来公司接待",
                      value: 1
                    }
                  ],
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择面谈方式"
                    }
                  ]
                },
                {
                  formType: "radioButton",
                  label: "买房意向",
                  formKey: "houseShop",
                  value: '',
                  itemList: [
                    {
                      label: "新房",
                      check: false
                    },
                    {
                      label: "二手房",
                      value: 0,
                      check: true
                    }
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "radioButtonLJ",
                  label: "主卧LJ",
                  formKey: "modifyShopName",
                  value: '',
                  itemList: [
                    {
                      label: "主卧",
                      check: false
                    },
                    {
                      label: "次卧",
                      value: 0,
                      check: true
                    }
                  ],
                  rules: [
                  ]
                },
                {
                  formType: "switchButtonLJ",
                  label: "租金约LJ多选",
                  formKey: "modifyShopName1",
                  multiSelect: true, // false 单选
                  leftIcon: 'http',
      
                  link: {
      
                  },
                  cssStyle: 'height: 3.5rem;background: #F3F3FF;border-radius: 0.75rem;padding:0 0.75rem;display:flex;margin:0.5rem',
                  labelCssStyle: 'flex-grow:1;',
                  valueCssStyle: 'flex-grow:1;justify-content:flex-end;',
                  value: '',
                  itemList: [
                    {
                      label: "填写",
                      value: "0",
                      check: true
                    },
                    {
                      label: "面议",
                      value: "1",
                      check: true
                    }
                  ],
                  rules: [
                  ],
                },
                {
                  formType: "switchButtonLJ",
                  label: "租金约LJ",
                  formKey: "modifyShopName",
                  multiSelect: false,
                  value: '',
                  itemList: [
                    {
                      label: "填写",
                      value: "0",
                      check: false
                    },
                    {
                      label: "面议",
                      value: "1",
                      check: false
                    }
                  ],
                  rules: [
                  ],
                  subHtmlObj: [
                    {
                      compare: false,
                      formType: "textInputLJ",
                      hidden: false,
                      showCondition: "0",
                      formKey: "company_name4",
                      rules: [
                        {
                          name: "pattern",
                          message: "请填写正确的面积",
                          value: ".{0,50}"
                        },
                        {
                          name: "required",
                          message: "请填面积",
                          value: "true"
                        }
                      ],
                      labelCssStyle: 'font-size:1rem',
                      label: "面积LJ",
                      extra: "平米",
                      maxLength: 3,
                      placeHolder: "请填写"
                    },
                    {
                      formType: "singleColumnSelectLJ",
                      formKey: 'rent_uint',
                      placeHolder: "请选择",
                      value: 0,
                      showValue: '',
                      data: [
                        {
                          type: 'value',
                          label: "元/月",
                          value: 1
                        },
                        {
                          type: 'value',
                          label: "元/天",
                          value: 2
                        },
                        {
                          type: 'value',
                          label: "元/年",
                          value: 3
                        }
                      ],
                      rules: [{
                        name: 'required',
                        value: true,
                        message: "请选择租金单位"
                      }]
                    },
                    {
                      formType: "radioButtonLJ",
                      label: "主卧LJ",
                      formKey: "modifyShopName",
                      value: '',
                      itemList: [
                        {
                          label: "主卧",
                          check: false
                        },
                        {
                          label: "次卧",
                          value: 0,
                          check: true
                        }
                      ],
                      rules: [
                      ]
                    },
      
                    {
                      formType: "areaSlotLJ",
                      label: "",
                      compare: true,
                      lessTip: "", //  最大值小于最小值时提示
                      equalTip: "", // 最大值等于最小值时提示
                      // extra: '平米', // 不能与动态单位选择共存
                      canEqual: true, // 是否可以相等
                      subHtmlObj: [
                        {
                          formType: "area",
                          formKey: 'min_area',
                          placeHolder: "最小",
                          value: "",
                          rules: [
                            {
                              name: 'required',
                              value: true,
                              message: "请填写最小面积"
                            }
                          ],
                        },
                        {
                          formType: "area",
                          formKey: 'max_area',
                          placeHolder: "最大",
                          value: "",
                          rules: [
                            {
                              name: 'required',
                              value: true,
                              message: "填写最大面积"
                            }
                          ]
                        },
                        { //  注意顺序
                          formType: "singleColumnSelect",
                          formKey: 'rent_uint',
                          value: 1,
                          showValue: '元/月',
                          data: [
                            {
                              type: 'value',
                              label: "元/月",
                              value: 1
                            },
                            {
                              type: 'value',
                              label: "元/天",
                              value: 2
                            },
                            {
                              type: 'value',
                              label: "元/年",
                              value: 3
                            }
                          ],
                          rules: [{
                            name: 'required',
                            value: true,
                            message: "请选择租金单位"
                          }]
                        }
                      ]
                    },
                  ]
                },
                {
                  formType: "switchButton",
                  label: "同步修改信息店名",
                  formKey: "modifyShopName",
                  value: '',
                  hasBorder : true,
                  itemList: [
                    {
                      label: "是", // 选是 则提交店名进行修改
                      value: 1,
                      check: false
                    },
                    {
                      label: "否",
                      value: 0,
                      check: true
                    }
                  ],
                  rules: [
                  ],
                },
      
                {
                  formType: "datePlug",
                  formKey: "time",
                  label: "datePlug",
                  placeHolder: "请选面谈时间",
                  showValue: '7年',
                  max: '2021-06',
                  value: "",
                  mode: 'month',
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择面谈时间",
                    }
                  ],
      
                },
                {
                  formType: "datePicker",
                  formKey: "time",
                  label: "面谈时间",
                  placeHolder: "请选面谈时间",
      
                  value: "",
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择面谈时间",
                    }
                  ],
      
                },
                {
                  formType: "datePickerLJ",
                  formKey: "time1",
                  label: "面谈时间LJ",
                  placeHolder: "请选面谈时间",
                  mode: "date",
                  value: "",
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请选择面谈时间",
                    }
                  ],
      
                },
                {
                  formType: "textArea",
                  formKey: "mark1",
                  maxLength: 260, // 必须 显示字数统计
                  value: '',
                  hasBorder: true,
                  placeHolder: "请填写面谈备注",
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请填写面谈备注",
                    }
                  ]
      
                },
                {
                  label: "面谈时间",
                  formType: "textAreaLJ",
                  formKey: "mark2",
                  maxLength: 260, // 必须 显示字数统计
                  value: '',
                  hasBorder: true,
                  placeHolder: "请填写面谈备注",
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请填写面谈备注",
                    }
                  ]
      
                },
                {
                  formType: "photoSelectWidget",
                  formKey: 'photos',
                  maxSize: 8, // 最多设置8张
                  placeHolder: "添加备注图片(最多8张）",
                  tips: '视频：请通过PC员工后台上传案例视频',
                  value: '',
                  rules: [{
                    name: 'required',
                    value: true,
                    message: "请选择图片"
                  }]
                },
                {
                  formType: "textAreaLines",
                  formKey: "mark2",
                  label: "款项说明lines",
                  showValue: 1, // 行数
                  value: '',
                  hasBorder: true,
                  defValue: "textAreaLines",
                  placeHolder: "请填写款项说明",
                  rules: [
                    {
                      name: 'required',
                      value: false,
                      message: "请填写款项说明",
                    }
                  ]
      
                },
                {
                  formType: "textInput",
                  label: "真实姓名",
                  formKey: "userName",
                  placeHolder: "请填写",
                  textType: "text", // text /phone /number password 其他标准 html input type 类型
                  editable: true, // 是否可编辑
                  // disabled: false, // 是否禁用
                  clear: false,  // 是否带清除功能(仅editable为true,disabled为false才生效)
                  extra: '元',   // 右边注释 带单位显示文本框
                  // endIcon: 'x.png', // 右边小图标
                  value: '',     // 提交的值
                  minLength: 2,  // 最大长度
                  maxLength: 5,  // 最小长度
                  max: 99999,    // 最大值
                  min: 0,         // 最小值
                  rules: [{
                    name: 'required',
                    value: false,
                    message: "真实姓名必填"
                  }]
                },
                {
                  formType: "textInput",
                  label: "手机号码",
                  formKey: "phone",
                  placeHolder: "请填写",
                  value: '',
                  endIcon: '.png',  // 右侧 小图标
                  rules: [
                    // 所有的message 写在数组中
                    // required max  maxLength maxSize 规则可以写数组中为了获得指定的message
                    // 同时写数组外能更好的实时限制输入，只写在数组中则只能在提交的时候校验。
                    {
                      name: 'required',
                      value: false,
                      message: "手机号码必填"
                    },
                    // {
                    //   name: 'max',
                    //   value: 14444444444,
                    //   message: "最大值14444444444"
                    // },
                    // {
                    //   name: 'maxLength',
                    //   value: 11,
                    //   message: "请输入11位数手机号码"
                    // },
                    // {
                    //   name: 'minLength',
                    //   value: 11,
                    //   message: "请输入11位数手机号码"
                    // },
                    // {
                    //   name: 'pattern',
                    //   value: "[1][3,4,5,6,7,8,9][0-9]{9}",
                    //   message: "请输入正确的手机号码"
                    // },
                  ]
                },
      
                {
                  formType: "uploadIdentityWidget",
                  label: "身份证照",
                  subHtmlObj: [
                    {
                      // disabled: true,
                      formKey: "identityFront",
                      defaultImage: "../../../assets/img/authentication_img_positive@3x.png",
                      placeHolder: "点击上传带头像一面",
                      value: "abc",
                      label: "正面照",
                      fileType: '',
                      fileId: '',
                      rules: [
                        {
                          name: 'required',
                          value: false,
                          message: "请上传带头像一面身份证照"
                        }
                      ]
                    },
                    {
                      formKey: "identityBack",
                      // disabled: true,
                      defaultImage: "../../../assets/img/authentication_img_positive@3x.png",
                      placeHolder: "点击上传带国辉一面",
                      value: "",
                      label: "反面照",
                      fileType: '',
                      fileId: '',
                      rules: [
                        {
                          name: 'required',
                          value: false,
                          message: "请上传带国辉一面身份证照"
                        }
                      ]
                    },
                    {
                      formKey: "identityHold",
                      // disabled: true,
                      defaultImage: "../../../assets/img/authentication_img_positive@3x.png",
                      placeHolder: "点击上传手持一面",
                      value: "",
                      label: "手持身份证照",
                      rules: [
                        {
                          name: 'required',
                          value: false,
                          message: "请上传手持身份证照"
                        }
                      ]
                    }
                  ]
                },
                {
                  subHtmlObj: [{
                    subHtmlObj: [
                      {
                        formType: "textInput",
                        endIcon: "xxx.png",
                        rules: [
                          {
                            name: "required",
                            message: "请填写副标题",
                            value: "false"
                          }
                        ],
                        label: "左一店铺",
                        maxLength: "10",
                        placeHolder: "选填"
                      },
                      {
                        formType: "textInput",
                        endIcon: "xxx.png",
                        rules: [
                          {
                            name: "required",
                            message: "请填写副标题",
                            value: "false"
                          }
                        ],
                        label: "左二店铺",
                        maxLength: "10",
                        placeHolder: "选填"
                      },
                      {
                        formType: "textInput",
                        endIcon: "xxx.png",
                        rules: [
                          {
                            name: "required",
                            message: "请填写副标题",
                            value: "false"
                          }
                        ],
                        label: "左三店铺",
                        maxLength: "10",
                        placeHolder: "选填"
                      }
                    ],
                    formType: "multipleForm",
                    formKey: "left_shop",
                    value: ""
                  },
                  {
                    subHtmlObj: [
                      {
                        formType: "textInput",
                        endIcon: "xxx.png",
                        rules: [
                          {
                            name: "required",
                            message: "请填写副标题",
                            value: "false"
                          }
                        ],
                        label: "右一店铺",
                        maxLength: "10",
                        placeHolder: "选填"
                      },
                      {
                        formType: "textInput",
                        endIcon: "xxx.png",
                        rules: [
                          {
                            name: "required",
                            message: "请填写副标题",
                            value: "false"
                          }
                        ],
                        label: "右二店铺",
                        maxLength: "10",
                        placeHolder: "选填"
                      },
                      {
                        formType: "textInput",
                        endIcon: "xxx.png",
                        rules: [
                          {
                            name: "required",
                            message: "请填写副标题",
                            value: "false"
                          }
                        ],
                        label: "右三店铺",
                        maxLength: "10",
                        placeHolder: "选填"
                      }
                    ],
                    formType: "multipleForm",
                    formKey: "right_shop",
                    value: ""
                  }
                  ],
                  formType: "commaSpliceShowValueForm",
                  showValue: "",
                  label: "左邻右舍",
                  placeHolder: "选填"
                },
                {
                  formType: "hintText",
                  label: "提示标签",
                  tips: "说明", // 新增
                  background: "css",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  showValue: "表示内容",
                  leftIcon: ".../png"
                },
                {
                  formType: "titleTip",
                  label: "标题标签",
                  tips: "说明", // 新增
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  background: "css",
                  showValue: "表示内容",
                  leftIcon: ".../png"
                }
                , {
                  subHtmlObj: [
                    {
                      compare: false,
                      formType: "columSelect",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      data: [
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "1室",
                          isMajorPic: false,
                          value: "1"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "2室",
                          isMajorPic: false,
                          value: "2"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "3室",
                          isMajorPic: false,
                          value: "3"
                        }
                      ],
                      hidden: false,
                      formKey: "room_type",
                      value: "2"
                    },
                    {
                      compare: false,
                      formType: "columSelect",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      data: [
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "1厅",
                          isMajorPic: false,
                          value: "1"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "2厅",
                          isMajorPic: false,
                          value: "2"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "3厅",
                          isMajorPic: false,
                          value: "3"
                        }
                      ],
                      hidden: false,
                      formKey: "room_hall",
                      value: "3"
                    },
                    {
                      compare: false,
                      formType: "columSelect",
                      canEqual: false,
                      checkAll: false,
                      expression: true,
                      data: [
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "1卫",
                          isMajorPic: false,
                          value: "1"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "2卫",
                          isMajorPic: false,
                          value: "2"
                        },
                        {
                          dataStr: false,
                          isScript: false,
                          isArray: true,
                          isDisabled: false,
                          label: "3卫",
                          isMajorPic: false,
                          value: "3"
                        }
                      ],
                      hidden: false,
                      formKey: "room_bit",
                      value: "2"
                    }
                  ],
                  compare: false,
                  formType: "modalMultipleFormKeySelect",
                  showValue: "2室3厅2卫",
                  canEqual: false,
                  checkAll: false,
                  expression: true,
                  hidden: false,
                  label: "房型",
                  value: "0",
                  placeHolder: "请选择",
                  multiSelect: true
                }
              
            
        ]
      }
    };
  }


  ngOnDestroy(): void {
    console.log('表单-->ngOnDestroy');
    if (this.eventService.eventEmit.listenerCount(this.updateFromName) > 0) {
      this.eventService.eventEmit.removeListener(this.updateFromName);
    }
    // 改到ngOnDestroy dell 前后页面表单的 paramName 不相同才可以用以下

    // this.appGlobalService.delFormGroupWithParamName(this.tagData.paramName);
    // this.appGlobalService.delFormGroupWithParamName(this.tagData.paramName);
    // this.appGlobalService.delFormCompareWithParamName(this.tagData.paramName);
    this.appGlobalService.nextPageFomObj = undefined;
    this.eventService.removeCustomListListenersByName('NextPage');

    clearInterval(this.timer);
    clearInterval(this.timer1);

    if (this.globalTempEvent && this.globalTempEvent.length > 0) {
      this.globalTempEvent.forEach(element => {
        // console.log('removeCustomListListenersByName-->' + element);
        this.eventService.removeCustomListListenersByName(element);
      });
    }
    if (localStorage.getItem('client') === 'APP' && (typeof Keyboard) !== 'undefined') {
      if(typeof(Keyboard.disableScroll)=== 'function' ){
        Keyboard.disableScroll(true);
      }
      if(typeof(Keyboard.setResizeMode)=== 'function' ){
        Keyboard.setResizeMode('native');
      }
      console.log('iOS:KeyboardScroll!!!!');
    }
    this.destroyBaiduOrc();
  }

  closeHint(event) {
    event.stopPropagation();
    $('#' + this.hintId).fadeOut();
  }
  previousClick() {
    this.currentIndex = 0;
    if (this.tagData.data.titles && this.tagData.data.titles.length > 1) {
      this.title = this.tagData.data.titles[0];
    }
    document.getElementById("field1").style.display = "none";
    document.getElementById("field0").style.display = "block";
  }


  nextClick() {

    if (this.fieldset0 && this.fieldset0.length > 0) {
      // 先校验第一步的信息

      this.getErrorsStep1(this.formGroup, checkOK => {
        if (checkOK) {
          const innerBtnNext = this.fieldset0[this.fieldset0.length - 1];
          if (innerBtnNext.formType === 'innerBtnNext') {
            this.innerNextSubmit(innerBtnNext);
          } else {
            this.showNext();
          }
        }
      });


    }
  }
  showNext() {
    this.currentIndex = 1;
    if (this.tagData.data.titles && this.tagData.data.titles.length > 1) {
      this.title = this.tagData.data.titles[1];
    }
    document.getElementById("field0").style.display = "none";
    document.getElementById("field1").style.display = "block";
  }
  innerNextSubmit(item) {
    // 组合第一步参数 注意是中文格式的 ，号分隔
    if (item.submit.content.formKeys && item.submit.content.formKeys.length > 0) {
      if (item.submit.content.formKeys.indexOf("，") > -1) {
        const keys = item.submit.content.formKeys.split('，');
        keys.forEach(element => {
          item.submit.content[element] = this.formGroup.value[element];
        });

      } else {
        item.submit.content[item.submit.content.formKeys] = this.formGroup.value[item.submit.content.formKeys];
      }
    }
    const params = {
      content: item.submit.content,
      id: item.submit.id,
      sessionId: localStorage.getItem('sessionId')
    };
    this.http.post('application/submit', params, res => {
      if (res.success) {
        this.showNext();
      }
    });
  }
  submitClick() {
    if (this.fieldset1 && this.fieldset1.length > 0) {
      const innerBtnLast = this.fieldset1[this.fieldset1.length - 1];
      if (innerBtnLast.formType === 'innerBtnLast') {
        this.innerBtnClick(innerBtnLast);
      }

    }
  }
  needRefreshTab() {
    setTimeout(() => {
      const tab = localStorage.getItem('tab');
      if (tab && tab.indexOf("tab") > -1) {
        const tabIndex = tab.substring(tab.length - 1);
        console.log("needRefreshTab" + tabIndex);
        localStorage.setItem('needRefreshTab' + tabIndex, 'true');
        this.eventService.eventEmit.emit(tab, '1');
        console.log('submit eventEmit--->' + tab);
      }
    }, 500);
  }
  async closeModal() {
    try {
      const modal = this.modalCtrl.getTop();
      if (modal !== undefined) {
        (await modal).dismiss();
      }
    } catch (error) {
    }
  }

  updatePriceWithAddressId(id, item) {
    // 表单标签内价格联动
    if (item.submit && item.submit.content && item.submit.content.formKey) {
      item.submit.content[item.submit.content.formKey] = id;
      const params = {
        content: item.submit.content,
        id: item.submit.id,
        sessionId: localStorage.getItem('sessionId')
      };

      this.http.post('application/submit', params, res => {

        if (res.success && res.data && res.data.eventResult) {
          if (item.eventName === "sendPrice") {
            this.tagData.data.htmlObj.forEach(e => {
              if (e.formType === "switchButtonFW") {
                e.subHtmlObj.forEach(element => {
                  if (element.eventName === "receivePrice") {
                    element.value = res.data.eventResult;
                    this.formGroup.patchValue({ [element.formKey]: element.value });
                  }
                });

              }
              // 确认订单
              if (e.formType === 'addItemCount' && e.eventName === "receivePrice") {
                e.showValue = res.data.eventResult;
              }
            });
          }
          // 表单标签与其他标签价格联动
          if (item.eventType === 'updateTotalAmount') {
            this.eventService.eventEmit.emit("updateCleanerShopOrdersAmount", res.data.eventResult);
          }
        }
      },
        error => {

        });

    }

  }
  getInterger(value) {
    if (parseInt(value, 10) === 0 || value === null) {
      return 0.00;
    } else {
      return parseInt(value, 10);
    }

  }
  closeTips(tipId, listId) {
    const tempButton = document.getElementById(tipId) as HTMLElement;
    $('#' + tipId).slideToggle("slow");
    document.getElementById(listId).setAttribute('style', 'height:100%;');

  }
  setAllChildren(it, check) {
    if (it.children && it.children.length > 0) {
      it.children.forEach(element => {
        element.checked = check;
      });
    }
  }
  // 清除其他二级
  clearRow2(it, item) {
    // 大类、二级单选 三级多选
    item.current.children.forEach(element => {
      if (element !== it) {
        this.setAllChildren(element, false);
        element.checked = false;
      }
    });
  }
  // 清除大类
  clearRow1(item) {
    item.children.forEach(element => {
      if (element !== item.current) {
        if (element.hasValue) {
          element.hasValue = false;

          element.children.forEach(el => {
            // el 清除二级
            el.checked = false;
            // 清除三级
            this.setAllChildren(el, false);

          });
        }
      }
    });
  }
  // 勾选二级
  chooseRow2All(it, item) {
    it.checked = !it.checked;
    if (it.checked) {
      this.setAllChildren(it, true);
      item.current.hasValue = true;
      this.clearRow1(item);
      this.clearRow2(it, item);
      this.formGroup.patchValue({ [item.formKey]: it.value });
    } else {
      this.setAllChildren(it, false);
      item.current.hasValue = false;
      this.formGroup.patchValue({ [item.formKey]: "" });
    }
  }
  // 确认二级是否全选
  checkedRow2All(it, item) {
    if (it.children && it.children.length > 0) {
      let n = 0;
      const values = [];
      it.children.forEach(element => {
        if (element.checked) {
          ++n;
          values.push(element.value);
        }
      });
      if (n === it.children.length) {
        it.checked = true;
        this.formGroup.patchValue({ [item.formKey]: it.value });
      } else {
        it.checked = false;
        this.formGroup.patchValue({ [item.formKey]: values.join(',') });
        if (item.sep !== undefined) {
          this.formGroup.patchValue({ [item.formKey]: values.join(item.sep) });
        }
      }
      if (n === 0) {
        item.current.hasValue = false;
      } else {
        item.current.hasValue = true;
        this.clearRow1(item);
      }
    }
  }
  // 三级选择
  row3Click(i, it, item, event?) {
    i.checked = !i.checked;
    if (i.checked) {

      this.clearRow2(it, item);
    } else {
      it.checked = false;
    }
    this.checkedRow2All(it, item);

    if (event) {
      event.stopPropagation();
    }
  }
  searchLocal(event, item) {
    if (event && event.keyCode !== 13) {
      return;
    }
    this.searchBarLocal.getInputElement().then((input) => {
      item.keyword = input.value;
      item.keyword = item.keyword.trim();
      if (item.keyword === "") {
        return;
      }

      this.searchKeywordLocal(item);

    });


  }
  searchKeywordLocal(item) {
    if (!item.keyword || item.keyword === "") {
      item.hasSearched = false;
      item.itemList = item.tempList;
      return;
    }
    item.hasSearched = true;
    item.searchResult = [];

    for (let i = 0; i < item.tempList.length; i++) {
      const num = i;
      for (let j = 0; j < item.tempList[num].label.length; j++) {
        const Name1 = item.tempList[num].label.charAt(j);
        for (let k = 0; k < item.keyword.length; k++) {
          const Name2 = item.keyword.charAt(k);
          if (Name1.toUpperCase() === Name2.toUpperCase()) {
            if (item.searchResult.indexOf(item.tempList[num]) < 0) {
              // 如果有相同的字，且不在数组内，加入数组。
              item.searchResult.push(item.tempList[num]);
            }
          }
        }
      }
    }

    item.itemList = item.searchResult;
  }

  ionBlurLocal() {
  }

  focusInputLocal(item) {
    if (item.tempList === undefined) {
      item.tempList = item.itemList;
    }
    if (item.hasSearched) {
      item.hasSearched = false;
      item.keyword = "";
    }
  }

  searchChangeLocal(event, item) {
    this.searchKeywordLocal(item);
  }


  selectBank() {

    if (this.eventService.eventEmit.listenerCount('selectBank') > 0) {
      this.eventService.eventEmit.removeListener('selectBank');
    }

    const that = this;
    this.eventService.eventEmit.on('selectBank', item => {
      // 恢复表单
      that.formGroup = that.appGlobalService.getFormGroupWithParamName(that.tagData.paramName);
      that.compareItemArray = that.appGlobalService.getFormCompareWithParamName(that.tagData.paramName);
      that.buildForm();

      console.log('接受selectBank:' + JSON.stringify(item));
      let findSelectBank = false;
      that.tagData.data.htmlObj.forEach(element => {
        if (element.formType === "selectBank") {
          findSelectBank = true;
          this.updateBank(element , item);

        }
        if (element.formType === 'backTips') {

          if (element.showValue && element.showValue === 'onlyBack') {

            localStorage.removeItem('needRefresh');
          }
        }

      });
      if (!findSelectBank) {
        this.tagData.data.htmlObj.forEach(element => {
          if (element.subHtmlObj !== undefined && element.subHtmlObj.length > 0) {
            element.subHtmlObj.forEach(ele => {
              if (ele.formType === "selectBank") {
                this.updateBank(ele , item);
              }
            });
          }
        });
      }

    });
  }

  updateBank(element , item) {
    element.value = item.code;
    element.showValue = item.name;
    this.formGroup.patchValue({ [element.formKey]: element.value });
    if (this.formGroup.contains(element.formKeys)) {
      this.formGroup.patchValue({ [element.formKeys]: element.showValue });
    } else {
      this.formGroup.addControl(element.formKeys, new FormControl(element.showValue));
    }
    this.formGroup.patchValue({ [element.formKey]: element.value });

  }

  
  selectAddress() {

    if (this.eventService.eventEmit.listenerCount('selectAddress') > 0) {
      this.eventService.eventEmit.removeListener('selectAddress');
    }

    const that = this;
    this.eventService.eventEmit.on('selectAddress', item => {
      // 恢复表单
      that.formGroup = that.appGlobalService.getFormGroupWithParamName(that.tagData.paramName);
      that.compareItemArray = that.appGlobalService.getFormCompareWithParamName(that.tagData.paramName);
      that.buildForm();

      console.log('接受选择的地址id:' + JSON.stringify(item));
      // localStorage.setItem("needRefresh", "true");// jason 7.28 移除 不再刷新更多页面
      let findSelectAddress = false;
      that.tagData.data.htmlObj.forEach(element => {
        if (element.formType === "selectAddress" && element == this.currentAddressItem) {
          findSelectAddress = true;
          this.updateAddress(element , item);

        }
        if (element.formType === 'backTips') {

          if (element.showValue && element.showValue === 'onlyBack') {

            localStorage.removeItem('needRefresh');
          }
        }

      });
      if (!findSelectAddress) {
        this.tagData.data.htmlObj.forEach(element => {
          if (element.subHtmlObj !== undefined && element.subHtmlObj.length > 0) {
            element.subHtmlObj.forEach(ele => {
              if (ele.formType === "selectAddress" ||  ele.formType === "sendAddress" || ele.formType === "recAddress") {
                if(ele == this.currentAddressItem){
                  this.updateAddress(ele , item);
                }
              }
            });
          }
        });
      }

    });
  }

  updateAddress(element, item) {
    if (element !== this.currentAddressItem){
      return
    }
    this.http.get('baseInfo/getAddress/' + localStorage.getItem('sessionId') + '?addressId=' + item.id, res => {
      if (res.address !== undefined && res.id !== undefined && res.name !== undefined) {
        if(element.formType === "selectAddress") {
          {
            // 更新一下已选择的id
            if (element.showData.link.params.id !== undefined) {
              element.showData.link.params.id = res.id;
            } else {
              // 新增完后就有地址列表了
              element.showData = element.data[1];
              element.showData.link.params.id = res.id;

            }
            element.value = res.id
            element.showData.value = res.id;
            element.showData.label = res.address;
            element.showData.tips = res.name + ' ' + res.phone;
            this.formGroup.patchValue({ [element.formKey]: element.showData.value });
            this.updatePriceWithAddressId(res.id, element);
          }
            
        } else if ( element.formType === "sendAddress" || element.formType === "recAddress") {
          // 更新一下已选择的 formKeys: 'sendManName;sendManMobile', // 发件人姓名;发件人电话
          if (element === this.currentAddressItem){
            element.value = res.address;
            element.valueN = res.name;
            element.showValue = res.phone;
            element.showValue1 = res.name + ' ' + res.phone;
            this.updateCurrentAddress(element)
            // 赋值到子项方便修改
            if (element.subHtmlObj && element.subHtmlObj.length > 2) {
              element.subHtmlObj[2].value = element.value ?  element.value : ""; // 全地址
              element.subHtmlObj[1].value = element.valueN ? element.valueN  : ""; // 名字
              element.subHtmlObj[1].subHtmlObj[0].value = element.showValue ? element.showValue  : "";// 电话
            }
            this.updateExpressDeliveryPrice();//

          }
          
        } 
        
      }


    }, err => {

    });
  }

  selectCommunityAddress() {
    if (this.eventService.eventEmit.listenerCount('getResidentialDistrict') > 0) {
      this.eventService.eventEmit.removeListener('getResidentialDistrict');
    }

    const that = this;
    this.eventService.eventEmit.on('getResidentialDistrict', item => {
      // 恢复表单
      that.formGroup = that.appGlobalService.getFormGroupWithParamName(that.tagData.paramName);
      that.compareItemArray = that.appGlobalService.getFormCompareWithParamName(that.tagData.paramName);
      that.buildForm();

      console.log('接受选择的小区id:' + JSON.stringify(item.id));
      // localStorage.setItem("needRefresh", "true");// jason 7.28 移除 不再刷新更多页面
      that.tagData.data.htmlObj.forEach(element => {
        if (element.formType === "selectCommunityAddress" || element.formType === "selectCommunityAddressJoin") {

          element.showValue = item.baseName;
          element.value = item.id;
          that.formGroup.patchValue({ [element.formKey]: element.value });

        }

        if (element.formType === 'backTips') {

          if (element.showValue && element.showValue === 'onlyBack') {

            localStorage.removeItem('needRefresh');
          }
        }

      });

    });
  }
  selectCertificates(){
    if (this.eventService.eventEmit.listenerCount('selectCertificates') > 0) {
      this.eventService.eventEmit.removeListener('selectCertificates');
    }

    const that = this;
    this.eventService.eventEmit.on('selectCertificates', item => {
      // 恢复表单
      that.formGroup = that.appGlobalService.getFormGroupWithParamName(that.tagData.paramName);
      that.compareItemArray = that.appGlobalService.getFormCompareWithParamName(that.tagData.paramName);
      that.buildForm();

      console.log('接收selectCertificates:' + item);
      
      that.tagData.data.htmlObj.forEach(element => {
        if (element.formType === "selectCertificates" ) {
          // res = {id:"abcssssss" , itemList:[{label:营业执照  value：img1} , {label:资质  value：img2} ]}
          const res = JSON.parse(item);
          if(res.id){
            element.value = res.id;
            element['itemList'] = res.itemList;
            that.formGroup.patchValue({[element.formKey]:element.value})
          } else {
            element.value = "";
            element['itemList'] = [];
            that.formGroup.patchValue({[element.formKey]:element.value})
          }
          
        }

        if (element.formType === 'backTips') {

          if (element.showValue && element.showValue === 'onlyBack') {
            this.appGlobalService.popTarget();
            this.appGlobalService.goBack();
            localStorage.removeItem('needRefresh');
          }
        }

      });

    });
  }
  selectService() {
    if (this.eventService.eventEmit.listenerCount('selectService') > 0) {
      this.eventService.eventEmit.removeListener('selectService');
    }

    const that = this;
    this.eventService.eventEmit.on('selectService', item => {
      // 恢复表单
      that.formGroup = that.appGlobalService.getFormGroupWithParamName(that.tagData.paramName);
      that.compareItemArray = that.appGlobalService.getFormCompareWithParamName(that.tagData.paramName);
      that.buildForm();

      console.log('接收selectService:' + JSON.stringify(item.value));
      // localStorage.setItem("needRefresh", "true");// jason 7.28 移除 不再刷新更多页面
      that.tagData.data.htmlObj.forEach(element => {
        if (element.formType === "selectService" ) {

          element.showValue = item.label;
          element.value = item.value;
          that.formGroup.patchValue({ [element.formKey]: element.value });

        }

        if (element.formType === 'backTips') {

          if (element.showValue && element.showValue === 'onlyBack') {

            localStorage.removeItem('needRefresh');
          }
        }

      });

    });
  }

  selectInvoiceHead() {

    if (this.eventService.eventEmit.listenerCount('invoice-head-id') > 0) {
      this.eventService.eventEmit.removeListener('invoice-head-id');
    }

    const that = this;
    this.eventService.eventEmit.on('invoice-head-id', item => {
      // 恢复表单
      that.formGroup = that.appGlobalService.getFormGroupWithParamName(that.tagData.paramName);
      that.compareItemArray = that.appGlobalService.getFormCompareWithParamName(that.tagData.paramName);
      that.buildForm();

      console.log('接受选择的税务抬头id:' + JSON.stringify(item.id));
      // localStorage.setItem("needRefresh", "true");// jason 7.28 移除 不再刷新更多页面
      that.tagData.data.htmlObj.forEach(element => {
        if (element.formType === "selectInvoiceHead") {

          that.http.get('baseInfo/getInvoiceInfo/' + localStorage.getItem('sessionId') + '?id=' + item.id, res => {
            // formType  selectInvoiceHead 必需包含三项
            // title_type 发票类型 0企业 1个人或事业
            // enterprise_name 发票抬头
            // number 税号

            if (res.enterprise_name !== undefined && res.title_type !== undefined && res.number !== undefined) {

              element.subHtmlObj[0].itemList.forEach(e => {
                if (e.value === (res.title_type + '')) {
                  e.check = true;
                  element.subHtmlObj[0].showValue = e.label;
                } else {
                  e.check = false;
                }
              });
              element.subHtmlObj[0].value = res.title_type + '';
              element.subHtmlObj[0].subHtmlObj[0].value = res.enterprise_name;
              element.subHtmlObj[0].subHtmlObj[1].value = res.number + '';

              that.formGroup.patchValue({ [element.subHtmlObj[0].formKey]: element.subHtmlObj[0].value });
              that.formGroup.patchValue({ [element.subHtmlObj[0].subHtmlObj[0].formKey]: element.subHtmlObj[0].subHtmlObj[0].value });
              that.formGroup.patchValue({ [element.subHtmlObj[0].subHtmlObj[1].formKey]: element.subHtmlObj[0].subHtmlObj[1].value });


            }


          }, err => {

          });

        }
        if (element.formType === 'backTips') {

          if (element.showValue && element.showValue === 'onlyBack') {

            localStorage.removeItem('needRefresh');
          }
        }

      });

    });
  }
  checkStatus(item, a) {
    let status = false;
    if (item.value === item.itemList[a].value  ||
      item.value.split(',').indexOf(item.itemList[a].value) > -1 ||
      item.value.split(';').indexOf(item.itemList[a].value) > -1) {
      status = true;
    }
    return  status;
  }

  getChooseDate(formItem) {
    const  children = [];
    let now = new Date();
    const oneDay = 24 * 3600 * 1000;

    children.push({
      label: '随时可面',
      value: '随时可面',
      children: [
      ]
    });
    children.push({
      label: now.getMonth() + 1 + '月' + now.getDate() + "(今天)",
      value: now.getMonth() + 1 + '月' + now.getDate() + "(今天)",
      children: [
        {
          label: '上午',
          value: '上午',
          children: []
        },
        {
          label: '下午',
          value: '下午',
          children: []
        },
      ]
    });
    now = new Date( +now + oneDay);
    children.push({
      label: now.getMonth() + 1 + '月' + now.getDate() + "(明天)",
      value: now.getMonth() + 1 + '月' + now.getDate() + "(明天)",
      children: [
        {
          label: '上午',
          value: '上午',
          children: []
        },
        {
          label: '下午',
          value: '下午',
          children: []
        },
      ]
    });
    if (formItem.maxSize > 1) {

    } else {
      formItem.maxSize  = 30;
    }
    for (let i = 0 ; i < formItem.maxSize - 1 ; i++) {
        now = new Date( +now + oneDay);
        const myweekday =  now.getDay();
        const label =  now.getMonth() + 1 + '月' + now.getDate() + "("  +  this.getWeek(myweekday)  + ")";
        console.log(label);

        children.push({
          label,
          value: label,
          children: [
            {
              label: '上午',
              value: '上午',
              children: []
            },
            {
              label: '下午',
              value: '下午',
              children: []
            },
          ]
        });
    }

    formItem.children = children;
  }

  getWeek(myweekday) {
     let weekday = "";

     if (myweekday === 0) {

      weekday = "周日";
     } else if (myweekday === 1) {

      weekday = "周一";
    } else if (myweekday === 2) {

          weekday = "周二";
    } else if (myweekday === 3) {

          weekday = "周三";
    } else if (myweekday === 4) {

          weekday = "周四";
    } else if (myweekday === 5) {

          weekday = "周五";
    } else if (myweekday === 6) {

          weekday = "周六";
    }

     return weekday;

  }

  loadAutoHeight(item) {
    $('#' + item.formKey).each(function() {
      // 为 textarea 设置初始高度
      // this.setAttribute('style', `'height':'30px;overflow-y:hidden;'`);
      this.style.height = '1.38rem';
      this.style.overflow = 'hidden';
  // 监听 input 事件，在用户输入时重设高度
  }).on('input', function() {
      // 这行是设置删除文本时的减高度用的
      this.style.height = 'auto';
      // 将 textarea 的高度设为文本的高度，达到自适应效果
      this.style.height = (this.scrollHeight) / 16.0 + 'rem';
  });
  }
  copy(item) {
    this.appGlobalService.copyString(item.placeHolder);
  }
  fourLevelAddress(item) {
    if (item.extra && item.extra.length > 0 ) {
      this.appGlobalService.selectAddressList = JSON.parse(item.extra );
    }
    this.pageModalService.openPage(item.link, item.label, res => {
      if (res && res.code ) {
        console.log(res.code + res.address);
        item.value = res.code;
        item.showValue = res.address;
        item.extra = JSON.stringify(res.data);


        this.formGroup.patchValue({[item.formKey]: res.code});
        if (item.formKeys) {
          if (this.formGroup.contains(item.formKeys)) {
            this.formGroup.patchValue({ [item.formKeys]: item.extra });
          } else {
            this.formGroup.addControl(item.formKeys, new FormControl(item.extra));
            console.log('addFormControl：' + item.formKeys);
          }
        }

      }
    });
  }

  initBaiduOcr() {

    if ((typeof BaiduOcr) !== 'undefined') {
      BaiduOcr.init(
        () => {
            console.log('init ok');
        },
        (error) => {
            console.log(error);
        });
    }

  }

  destroyBaiduOrc() {
    if ((typeof BaiduOcr) !== 'undefined') {
      BaiduOcr.destroy(
        () => {
            console.log('destroy ok');
        },
        (error) => {
            console.log(error);
        });
    }

  }
  errorChecked(item){
    return (this.appGlobalService.formChecked  && item.required && item.showErrorStyle && (!item.value || item.value === ''));
  }
  errorCheckedForuploadIdentityWidget(item){
    return (this.appGlobalService.formChecked  && item.subHtmlObj[0].required && item.subHtmlObj[0].showErrorStyle && (!item.subHtmlObj[0].value || item.subHtmlObj[0].value === '' || !item.subHtmlObj[1].value || item.subHtmlObj[1].value === ''))
  }
  reset(item) {
    this.onReset();
    item.value = [];
    if (item.current) {
      item.current.hasValue = false;
    }
    item.children.forEach(element => {
      element.hasValue = false;
      element.checked = false;
      element.children.forEach(element2 => {
        element2.checked = false;
        if(element2.children && element2.children.length >0){
          element2.children.forEach(element3 => {
            element3.checked = false;
            
          });
        }
        
        
      });
      
    });

  }
  updateExpressDeliveryPrice() {
    const that = this;
      // kuaidiCom:'shentong',
      // sendManPrintAddr:"",
      // recManPrintAddr:"",
      // weight:"1",
      // serviceType:"标准快递"
    const value = this.formGroup.value;
    console.log("formValue :" + JSON.stringify(value));
    if (value.sendManPrintAddr && value.recManPrintAddr && value.weight ) {
      
      this.tagData.data.htmlObj.forEach(element => {
        if (element.formType === 'switchButtonKD') {
          let kuaidValue
          element.itemList.forEach(ele => {
            ele.valueN = "--";
            let formData = { 
              kuaidiCom: ele.value,
              sendManPrintAddr: value.sendManPrintAddr,
              recManPrintAddr: value.recManPrintAddr,
              weight: value.weight,
            }
            
            const contentsitem = JSON.stringify(element.submit.content);
            const content = Object.assign(JSON.parse(contentsitem),formData);
            element.submit.content = content;
            const params = {
              content:element.submit.content,
              id: element.submit.id,
              sessionId: localStorage.getItem('sessionId')
            };
            that.http.post('application/submit', params, res => {
              if(res.success && res.data && res.data.kuaidiCom && res.data.price) {
                ele.valueN = res.data.price;
                
              } else {
                ele.valueN = '--'
                
              }
      
              if(ele.check){
                if (ele.valueN && Number(ele.valueN) > 0) {
                  that.updateNormalBtns (Number(ele.valueN),0);
                } else {
                  ele.check = false
                  that.updateNormalBtns (0,0);
                  that.formGroup.patchValue({[element.formKey]:""})
                }   
              }
            });
            
          });
        }
      });
      

    }

  }
  paresAddress( item) {

    const [result] = AddressParse.parse(item.value,true);
    console.log(result);
    this.tagData.data.htmlObj.forEach(element => {
      this.showAddress(item,result,element);     
      if (element.subHtmlObj !== undefined && element.subHtmlObj.length > 0) {
        element.subHtmlObj.forEach(e => {
          this.showAddress(item,result,e);
          if (e.subHtmlObj !== undefined && e.subHtmlObj.length > 0) {
            e.subHtmlObj.forEach(e3 => {
              this.showAddress(item,result,e3);
            });
          }
        });
        
        
      }
  })
    
  }

 showAddress(item,result,element){
  item.itemList.forEach(ele => {
    if (ele.value && element.formKey &&  element.formKey === ele.value){
        element.value = result[ele.label];
        this.formGroup.patchValue({[element.formKey]:element.value})
        if (ele.label === 'code'){
          if (item.maxSize === 1) {
            element.showValue = result.area  
          } else {
            element.showValue = result.city+result.area
          }
          
        }
    }

  });
 }
 reorder(event, item) {
  item.drag = 1;
  if (item.butSubmit !== undefined) {
    item.submit = item.butSubmit;
  }
  try {
      
      
      if (event.detail.to === item.itemList.length) {
        event.detail.to -= 1;
      }
      item.submit.content.id = item.itemList[event.detail.from].value;
      item.submit.content.order_no = event.detail.to + 1;
      // console.log('from:' + event.detail.from + 1 + 'id:' +
      //  item.submit.content.id + 'label:' + item.itemList[event.detail.from].label); 
      // console.log("to order_no: " + item.submit.content.order_no)

      if (event.detail.from < event.detail.to) {
        item.itemList.splice(event.detail.to + 1, 0, item.itemList[event.detail.from]);
        item.itemList.splice(event.detail.from, 1);
      }
      if (event.detail.from > event.detail.to) {
        item.itemList.splice(event.detail.to, 0, item.itemList[event.detail.from]);
        item.itemList.splice(event.detail.from + 1, 1);
      }
      
      event.detail.complete();
      console.log(JSON.stringify(item.itemList));
      
      if(item.textType == '3'){
        // 分页数据
        this.sliceData(item)
  
      }
      this.submitData(item)
  } catch (e) {
      return;
  }
}

sliceData(item) {
  item.largeData=[];
  if (item.maxSize) {
    const size = Number(item.maxSize);
    if (item.itemList.slice(0, size).length > 0) {
      item.largeData.push(item.itemList.slice(0, size));
    }
    if (item.itemList.slice(size, size * 2).length > 0) {
      item.largeData.push(item.itemList.slice(size, size * 2));
    }
    if (item.itemList.slice(size * 2, size * 3).length > 0) {
      item.largeData.push(item.itemList.slice(size * 2, size * 3));
    }
    if (item.itemList.slice(size * 3, size * 4).length > 0) {
      item.largeData.push(item.itemList.slice(size * 3, size * 4));
    }
  }
}
  outputTextInput(event){
    if(event.fun){
      switch (event.fun) {
        case 'inputClick':
          this.inputClick(event.item);
          break;
        case 'endIconClick':
          this.endIconClick(event.item);
          break;
        case 'deleteValue':
          this.deleteValue(event.item);
          break;
        case 'showActionSheet':
          this.showActionSheet(event.item);
          break;
        case 'errorChecked':
          this.errorChecked(event.item);
          break;
        case 'changeValue':
          this.changeValue(event.event, event.item);
          break;
        case 'getMSCode':
          this.getMSCode(event.superitem, event.item);
          break;
        case 'getServicePrice':
          this.getServicePrice(event.item, event.tag);
          break;
        case 'ionBlur':
          this.ionBlur(event.item);
          break;
        // textArea
        case 'clearItemSpaces':
          this.clearItemSpaces(event.event, event.item);
          break;
        case 'textAreaClearItemSpaces':
        this.textAreaClearItemSpaces(event.event, event.item);
        break;
        case 'setItemDefValue':
          this.setItemDefValue(event.item);
          break;

        // switchButton
        case 'changeItemobjValidator':
          this.changeItemobjValidator(event.item, event.formType, event.i);
          break;

        case 'openPage': 
          this.openPage(event.link,event.item);
          break;
        case 'openModalMapPage':
        this.openModalMapPage(event.item);
        break;
        case 'switchButtonSystem':
          this.switchButtonSystem(event.item);
          break;

        case 'closeTips':
          this.closeTips(event.tipId, event.listId);
          break;

        case 'focusInputLocal':
          this.focusInputLocal(event.item);
          break;
        case 'searchLocal':
          this.searchLocal(event.event, event.item);
          break;
        case 'searchChangeLocal':
          this.searchChangeLocal(event.event, event.item);
          break;
        // passwordType
        case 'passWordIonBlur':
          this.passWordIonBlur(event.item);
          break;
        case 'passWordIonFocus':
          this.passWordIonFocus(event.item);
          break;
        // PickerSelect
        case 'clickOnPickerSelect':
          this.clickOnPickerSelect(event.item);
          break;
        case 'pickerSelect':
          this.pickerSelect(event.event, event.item);
          break;
        case 'pickerSelectTwo':
          this.pickerSelectTwo(event.event, event.item);
          break;
          // date
        case 'getDate':
          this.getDate(event.maxOrMin, event.item);
          break;

        case 'timeSlot':
          this.timeSlot(event.event, event.item, event.i);
          break;
        case 'datetime':
          {
            this.datetime(event.event, event.item);
            this.currentValue( event.item);
          }
          break;
        case 'ionDateChange':
          {
            this.ionDateChange(event.event, event.item);
            this.currentValue( event.item);
          }          
          break;
        case 'currentValue':  
          this.currentValue( event.item);
          break;
        case 'paresAddress':  
        this.paresAddress( event.item);
        break;
        
        case 'changeAddress':  
        this.changeAddress( event.item);
        break;

        case 'openModalMoreEditInfo':  
        this.openModalMoreEditInfo( event.item);
        break;
        case 'reorder':  
        this.reorder(event.event, event.item)
        break;
        
        default:
          break;

      }
      
    }
  }
}
